From 63d718e243fd03e6ea24c47e7442975ec088a5b5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 3 Jan 2006 17:27:33 +0000 Subject: r12696: Reduce the size of include/structs.h (This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f) --- source4/script/installmodules.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'source4/script') 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` -- cgit