summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Kroeger <andrew@sprocks.gotdns.com>2008-03-28 21:55:09 -0500
committerAndrew Kroeger <andrew@sprocks.gotdns.com>2008-03-28 21:55:09 -0500
commit7ddcb20d15babbacb2a52bde280fee7eb85d7e69 (patch)
tree2228114c690199052b700242f4ed7cf7001b8038 /source4/script
parent71e79728ec6542981b8921a49155936a65d332f4 (diff)
downloadsamba-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/script')
-rwxr-xr-xsource4/script/mkrelease.sh5
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