summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/installmodules.sh4
-rwxr-xr-xsource3/script/uninstallmodules.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/script/installmodules.sh b/source3/script/installmodules.sh
index bfc1c359b5..f6e52880fe 100755
--- a/source3/script/installmodules.sh
+++ b/source3/script/installmodules.sh
@@ -2,14 +2,14 @@
INSTALLPERMS=$1
DESTDIR=$2
-BASEDIR=`echo $3 | sed 's/\/\//\//g'`
+prefix=`echo $3 | sed 's/\/\//\//g'`
LIBDIR=`echo $4 | sed 's/\/\//\//g'`
shift
shift
shift
shift
-for d in $BASEDIR $LIBDIR; do
+for d in $prefix $LIBDIR; do
if [ ! -d $DESTDIR/$d ]; then
mkdir $DESTDIR/$d
if [ ! -d $DESTDIR/$d ]; then
diff --git a/source3/script/uninstallmodules.sh b/source3/script/uninstallmodules.sh
index 194435bda3..fc80565cb5 100755
--- a/source3/script/uninstallmodules.sh
+++ b/source3/script/uninstallmodules.sh
@@ -3,7 +3,7 @@
INSTALLPERMS=$1
DESTDIR=$2
-BASEDIR=`echo $3 | sed 's/\/\//\//g'`
+prefix=`echo $3 | sed 's/\/\//\//g'`
LIBDIR=`echo $4 | sed 's/\/\//\//g'`
shift
shift