summaryrefslogtreecommitdiffstats
path: root/source3/script/installbin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script/installbin.sh')
-rwxr-xr-xsource3/script/installbin.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/script/installbin.sh b/source3/script/installbin.sh
index fe3bc4c48ae..f9fd5298c09 100755
--- a/source3/script/installbin.sh
+++ b/source3/script/installbin.sh
@@ -2,10 +2,10 @@
INSTALLPERMS=$1
DESTDIR=$2
-BASEDIR=$3
-BINDIR=$4
-LIBDIR=$5
-VARDIR=$6
+BASEDIR=`echo $3 | sed 's/\/\//\//g'`
+BINDIR=`echo $4 | sed 's/\/\//\//g'`
+LIBDIR=`echo $5 | sed 's/\/\//\//g'`
+VARDIR=`echo $6 | sed 's/\/\//\//g'`
shift
shift
shift