2 # Make directory hierarchy.
3 # Written by Noah Friedman <friedman@prep.ai.mit.edu>
8 IFS="${IFS-${defaultIFS}}"
12 for file in ${1+"$@"} ; do
14 # Some sh's can't handle IFS=/ for some reason.
16 set - `echo ${file} | sed -e 's@/@%@g' -e 's@^%@/@'`
21 for d in ${1+"$@"} ; do
22 pathcomp="${pathcomp}${d}"
24 if test ! -d "${pathcomp}"; then
25 echo "mkdir $pathcomp" 1>&2
26 mkdir "${pathcomp}" || errstatus=$?
29 pathcomp="${pathcomp}/"