diff options
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/script/mkrelease.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/script/mkrelease.sh b/source4/script/mkrelease.sh index a6e7c8493b..d74d5d133f 100755 --- a/source4/script/mkrelease.sh +++ b/source4/script/mkrelease.sh @@ -1,8 +1,7 @@ #!/bin/sh -TMPDIR=`mktemp samba-XXXXX` -rm $TMPDIR || exit 1 -svn export . $TMPDIR || exit 1 +TMPDIR=`mktemp -d samba-XXXXX` +(git archive --format=tar HEAD | (cd $TMPDIR/ ; tar xf -)) ( cd $TMPDIR/source ./autogen.sh || exit 1 |