summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
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