summaryrefslogtreecommitdiff
path: root/source3/script/uninstallbin.sh
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-10-06 19:24:39 +0000
committerGerald Carter <jerry@samba.org>2003-10-06 19:24:39 +0000
commit03e7b224ec97f9a1da1ee818d05b9eadd7cf6de8 (patch)
tree69330699614dfb6608273b8a0e110ed5e41a8b06 /source3/script/uninstallbin.sh
parent0c4547ec27f5277b37a9cf0fc133f029c1b5e3b1 (diff)
downloadsamba-03e7b224ec97f9a1da1ee818d05b9eadd7cf6de8.tar.gz
samba-03e7b224ec97f9a1da1ee818d05b9eadd7cf6de8.tar.bz2
samba-03e7b224ec97f9a1da1ee818d05b9eadd7cf6de8.zip
cosmetic fix when DESTDIR=/ (default)
(This used to be commit cf6ac7995adc8ac116fd8f678ab06d0f91b4fe94)
Diffstat (limited to 'source3/script/uninstallbin.sh')
-rwxr-xr-xsource3/script/uninstallbin.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/script/uninstallbin.sh b/source3/script/uninstallbin.sh
index a8bbdea7af..5de936fccf 100755
--- a/source3/script/uninstallbin.sh
+++ b/source3/script/uninstallbin.sh
@@ -2,10 +2,10 @@
#4 July 96 Dan.Shearer@UniSA.edu.au
INSTALLPERMS=$1
-BASEDIR=$2
-BINDIR=$3
-LIBDIR=$4
-VARDIR=$5
+BASEDIR=`echo $2 | sed 's/\/\//\//g'`
+BINDIR=`echo $3 | sed 's/\/\//\//g'`
+LIBDIR=`echo $4 | sed 's/\/\//\//g'`
+VARDIR=`echo $5 | sed 's/\/\//\//g'`
shift
shift
shift