#!/bin/sh
for d
do	b=`dirname $d`
	if [ ! -d "$b" ];then $0 $b; fi
	mkdir $d
done
exit
#	Mkdir path ...
# Make all the directories in a path.  This corrects a common problem with the
# Unix  "mkdir"  command:   it  only creates the last directory in a path, and
# fails if the next-higher directory hasn't already been created.   Note  that
# some (but not all) versions of mkdir have a -p option that does this; if you
# KNOW that all your systems have this option to mkdir, you can dispense  with
# this script and use "mkdir -p" instead.
