summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-05-31 05:37:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:07 -0500
commitaf1c3c64b0223a545783ac83265f7c64af273612 (patch)
tree8335d4b9c26537e7a40e0dd867882ce56dffa5d0 /source4/script
parent57be767a24ae5defbbd5782d8fa59dc1386899d4 (diff)
downloadsamba-af1c3c64b0223a545783ac83265f7c64af273612.tar.gz
samba-af1c3c64b0223a545783ac83265f7c64af273612.tar.bz2
samba-af1c3c64b0223a545783ac83265f7c64af273612.zip
r23262: Fix mkrelease.sh to work in the right directories
(This used to be commit db8d78f187339acefc0ba03b3c33d1128208b084)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/mkrelease.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/source4/script/mkrelease.sh b/source4/script/mkrelease.sh
index cbad37c528..8e2ac0fcb9 100755
--- a/source4/script/mkrelease.sh
+++ b/source4/script/mkrelease.sh
@@ -4,9 +4,8 @@ VERSION=$1
svn export . samba-$VERSION || exit 1
-cd samba-$VERSION/source
-./autogen.sh || exit 1
-./configure || exit 1
-make dist || exit 1
-
-tar -zcf samba-$VERSION.tar.gz samba-$VERSION
+( cd samba-$VERSION/source
+ ./autogen.sh || exit 1
+ ./configure || exit 1
+ make dist || exit 1
+) && tar -zcf samba-$VERSION.tar.gz samba-$VERSION