]>
jfr.im git - irc/quakenet/snircd.git/blob - libs/dbprim/mkinstalldirs
2 # mkinstalldirs --- make directory hierarchy
3 # Author: Noah Friedman <friedman@prep.ai.mit.edu>
7 # $Id: mkinstalldirs,v 1.1 2003/03/07 02:36:11 klmitch Exp $
13 set fnord
`echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
19 pathcomp
="$pathcomp$d"
21 -* ) pathcomp
=.
/$pathcomp ;;
24 if test ! -d "$pathcomp"; then
25 echo "mkdir $pathcomp"
27 mkdir "$pathcomp" || lasterr
=$?
29 if test ! -d "$pathcomp"; then
40 # mkinstalldirs ends here