import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunk
[metze/old/v3-2-winbind-ndr.git] / source / script / installdirs.sh
1 #!/bin/sh
2
3 while ( test -n "$1" ); do
4
5         DIRNAME=`echo $1 | sed 's/\/\//\//g'`
6         if [ ! -d $DIRNAME ]; then
7                 mkdir -p $DIRNAME
8         fi
9
10         if [ ! -d $DIRNAME ]; then
11                 echo Failed to make directory $1
12                 exit 1
13         fi
14
15         shift;
16 done
17
18
19