summaryrefslogtreecommitdiff
path: root/source3/script/uninstallbin.sh
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-10-06 19:24:17 +0000
committerGerald Carter <jerry@samba.org>2003-10-06 19:24:17 +0000
commit629120a0a1ee0726cf6f43bf841ca042d2b0229e (patch)
treed056f6c443f968c98236e594908ab43c78cb8193 /source3/script/uninstallbin.sh
parent3289598de04eefc9ff87465c0f25c57ceb9e0111 (diff)
downloadsamba-629120a0a1ee0726cf6f43bf841ca042d2b0229e.tar.gz
samba-629120a0a1ee0726cf6f43bf841ca042d2b0229e.tar.bz2
samba-629120a0a1ee0726cf6f43bf841ca042d2b0229e.zip
cosmetic fix when DESTDIR=/ (default)
(This used to be commit e660b5752aa129c49b0b665845de2fe4c160be00)
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