Fix release script to cope with moved Samba 4 build tools.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 24 Apr 2011 00:14:17 +0000 (02:14 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 24 Apr 2011 00:14:17 +0000 (02:14 +0200)
source4/script/mkrelease.sh

index 6ad927b9829c8728b9ba4b8e8018c0f5abfa656d..19a1ade376bc1122d5ebdfd3dda021b86ff7b6cf 100755 (executable)
@@ -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`"