summaryrefslogtreecommitdiffstats
path: root/source
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
commit66efff41a72190ad73512cbf08fa68b1b44406b9 (patch)
treec86134c06df16e7a6548687a630867be6dcfb3ce /source
parent2e14b4ea64ba7e223f29b5b535b1b1be326f711c (diff)
downloadsamba-66efff41a72190ad73512cbf08fa68b1b44406b9.tar.gz
samba-66efff41a72190ad73512cbf08fa68b1b44406b9.tar.xz
samba-66efff41a72190ad73512cbf08fa68b1b44406b9.zip
mkrelease: Update to work with Git instead of SVN.
Diffstat (limited to 'source')
-rwxr-xr-xsource/script/mkrelease.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/script/mkrelease.sh b/source/script/mkrelease.sh
index a6e7c8493be..d74d5d133ff 100755
--- a/source/script/mkrelease.sh
+++ b/source/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