head	1.1;
branch	1.1.1;
access;
symbols
	lib3ds-v2:1.1.1.1.0.2
	lib3ds_release_1_2_0:1.1.1.1
	lib3ds_release_1_1_0:1.1.1.1
	cvsroot_tarball_20010320:1.1.1.1
	lib3ds_release_1_0_0:1.1.1.1
	snapshot_lib3ds010115:1.1.1.1
	lib3ds_release_0_9_1_final1:1.1.1.1
	lib3ds_release_0_9_1:1.1.1.1
	lib3ds_release_0_9_0:1.1.1.1
	cpp-tag:1.1.1.1
	start:1.1.1.1
	FAMP:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2000.03.28.20.04.31;	author jeh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.03.28.20.04.31;	author jeh;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
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 2000/01/21 13:16:06 jeh 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" 1>&2

        mkdir "$pathcomp" || lasterr=$?

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

     pathcomp="$pathcomp/"
   done
done

exit $errstatus

# mkinstalldirs ends here
@


1.1.1.1
log
@initial checkin
@
text
@@
