summaryrefslogtreecommitdiffstats
path: root/source4/script/mkrelease.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/mkrelease.sh')
-rwxr-xr-xsource4/script/mkrelease.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/script/mkrelease.sh b/source4/script/mkrelease.sh
index 6ad927b9829..19a1ade376b 100755
--- a/source4/script/mkrelease.sh
+++ b/source4/script/mkrelease.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
if [ ! -d ".git" -o `dirname $0` != "./source4/script" ]; then
echo "Run this script from the top-level directory in the"
@@ -6,8 +6,7 @@ if [ ! -d ".git" -o `dirname $0` != "./source4/script" ]; then
exit 1
fi
-cd source4
-../buildtools/bin/waf dist
+./buildtools/bin/waf dist
TGZFILE="`echo *.tar.gz`"
gunzip $TGZFILE
TARFILE="`echo *.tar`"