head	1.2;
access;
symbols
	second:1.1.1.1 jfbterm:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2008.06.06.03.55.11;	author skystars;	state dead;
branches;
next	1.1;

1.1
date	2008.06.06.03.48.43;	author skystars;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2008.06.06.03.48.43;	author skystars;	state Exp;
branches;
next	;


desc
@@


1.2
log
@*** empty log message ***
@
text
@#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain

# $Id: mkinstalldirs,v 1.1 2008/06/06 03:48:43 skystars Exp $

errstatus=0

for file
do
   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
   shift

   pathcomp=
   for d
   do
     pathcomp="$pathcomp$d"
     case "$pathcomp" in
       -* ) pathcomp=./$pathcomp ;;
     esac

     if test ! -d "$pathcomp"; then
        echo "mkdir $pathcomp"

        mkdir "$pathcomp" || lasterr=$?

        if test ! -d "$pathcomp"; then
  	  errstatus=$lasterr
        fi
     fi

     pathcomp="$pathcomp/"
   done
done

exit $errstatus

# mkinstalldirs ends here
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
# $Id: mkinstalldirs,v 1.1.1.1 2002/07/16 16:21:23 ukai Exp $
@


1.1.1.1
log
@Initial uxp commit. Contains jfbterm-0.4.7-7 and initial patch.
@
text
@@
