summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-04-24 02:14:17 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-04-24 02:14:17 +0200
commitfebc4a730ad55b781b94fdc3a9f5ed6c5bc488ab (patch)
tree073fef06fba34a5f23e74fbd23244cb05fa0eb7a /source4/script
parent0645c01b8545ba3a313740feea50a4b8d60a7fb6 (diff)
downloadsamba-febc4a730ad55b781b94fdc3a9f5ed6c5bc488ab.tar.gz
Fix release script to cope with moved Samba 4 build tools.
Diffstat (limited to 'source4/script')
-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 6ad927b982..19a1ade376 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`"