diff options
author | Andrew Kroeger <andrew@sprocks.gotdns.com> | 2008-03-28 21:55:09 -0500 |
---|---|---|
committer | Andrew Kroeger <andrew@sprocks.gotdns.com> | 2008-03-28 21:55:09 -0500 |
commit | 7ddcb20d15babbacb2a52bde280fee7eb85d7e69 (patch) | |
tree | 2228114c690199052b700242f4ed7cf7001b8038 /source4 | |
parent | 71e79728ec6542981b8921a49155936a65d332f4 (diff) | |
download | samba-7ddcb20d15babbacb2a52bde280fee7eb85d7e69.tar.gz samba-7ddcb20d15babbacb2a52bde280fee7eb85d7e69.tar.bz2 samba-7ddcb20d15babbacb2a52bde280fee7eb85d7e69.zip |
mkrelease: Update to work with Git instead of SVN.
(This used to be commit 66efff41a72190ad73512cbf08fa68b1b44406b9)
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 |