diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-01-03 17:27:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:49:40 -0500 |
commit | 63d718e243fd03e6ea24c47e7442975ec088a5b5 (patch) | |
tree | 97224ad82f32e4f61429316f32d244d0bea4aeae /source4/script | |
parent | 92461359f79803d97f942912d347c692fa596dc4 (diff) | |
download | samba-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.sh | 13 |
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` |