summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-01-03 17:27:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:40 -0500
commit63d718e243fd03e6ea24c47e7442975ec088a5b5 (patch)
tree97224ad82f32e4f61429316f32d244d0bea4aeae /source4/script
parent92461359f79803d97f942912d347c692fa596dc4 (diff)
downloadsamba-63d718e243fd03e6ea24c47e7442975ec088a5b5.tar.gz
samba-63d718e243fd03e6ea24c47e7442975ec088a5b5.tar.bz2
samba-63d718e243fd03e6ea24c47e7442975ec088a5b5.zip
r12696: Reduce the size of include/structs.h
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
Diffstat (limited to 'source4/script')
-rw-r--r--source4/script/installmodules.sh13
1 files changed, 5 insertions, 8 deletions
diff --git a/source4/script/installmodules.sh b/source4/script/installmodules.sh
index ec5691992d..fb0ad90c14 100644
--- a/source4/script/installmodules.sh
+++ b/source4/script/installmodules.sh
@@ -1,21 +1,18 @@
#!/bin/sh
INSTALLPERMS=$1
-BASEDIR=$2
-LIBDIR=$3
+LIBDIR=$2
shift
shift
shift
-for d in $BASEDIR $LIBDIR; do
-if [ ! -d $d ]; then
-mkdir $d
-if [ ! -d $d ]; then
- echo Failed to make directory $d
+if [ ! -d $LIBDIR ]; then
+mkdir $LIBDIR
+if [ ! -d $LIBDIR ]; then
+ echo Failed to make directory $LIBDIR
exit 1
fi
fi
-done
for p in $*; do
p2=`basename $p`