Apply Craig Barratt's fixes to allow multiple exlusion files and patterns.
[Samba/gebeck_regimport.git] / source3 / script / installdirs.sh
blob1db46b82ff2f5cf194f3758c9bd91e5a0cf22f56
1 #!/bin/sh
3 while ( test -n "$1" ); do
5 DIRNAME=`echo $1 | sed 's/\/\//\//g'`
6 if [ ! -d $DIRNAME ]; then
7 mkdir -p $DIRNAME
8 fi
10 if [ ! -d $DIRNAME ]; then
11 echo Failed to make directory $1
12 exit 1
15 shift;
16 done