summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-12 09:09:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:12 -0500
commitb8b5544500c147df8c2ec56abc171e5d26978791 (patch)
treee7214e5f3e16923eea8a410db71c47513408e068 /source4/script/tests
parenta7c7a9c64c01287efa100ac26863b8b8ab3f3b65 (diff)
downloadsamba-b8b5544500c147df8c2ec56abc171e5d26978791.tar.gz
samba-b8b5544500c147df8c2ec56abc171e5d26978791.tar.bz2
samba-b8b5544500c147df8c2ec56abc171e5d26978791.zip
r8365: fixed a problem on netbsd
(This used to be commit d5d0769da93219dbd582139482d34b744b359b99)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/selftest.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index ef73cc5001..77a97638b9 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -15,8 +15,11 @@ then
exit
fi
+
PREFIX=$1
+PREFIX=`echo $PREFIX | sed s+//+/+`
export PREFIX
+
mkdir -p $PREFIX || exit $?
OLD_PWD=`pwd`
cd $PREFIX || exit $?