1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/script/installdirs.sh
Gerald Carter 72948b91a0 * fixing RedHat spec file for 3.0
* updating Makefile & configure script to use CONFIGDIR & VFSLIBDIR
* set LIBDIR to ${prefix}/lib/samba when --with-fhs is enabled
* make installdirs take an arbitrary number of arguements
(This used to be commit f0d09cf676)
2002-11-26 23:18:35 +00:00

18 lines
166 B
Bash
Executable File

#!/bin/sh
while ( test -n "$1" ); do
if [ ! -d $1 ]; then
mkdir -p $1
fi
if [ ! -d $1 ]; then
echo Failed to make directory $1
exit 1
fi
shift;
done