head	1.1;
branch	1.1.1;
access;
symbols
	snapshot_010115:1.1.1.1
	view3ds_release_0_9_1:1.1.1.1
	start:1.1.1.1
	Lib3ds:1.1.1;
locks; strict;
comment	@# @;


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

1.1.1.1
date	2000.10.04.11.08.09;	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.1.1 2000/03/28 20:04:31 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
@@
