Fix mk-tarball.sh file to exclude .git directory
authorHenning Rogge <hrogge@googlemail.com>
Sun, 17 Jan 2010 17:44:54 +0000 (18:44 +0100)
committerHenning Rogge <hrogge@googlemail.com>
Sun, 17 Jan 2010 17:44:54 +0000 (18:44 +0100)
scripts/mk-tarball.sh

index 21a6e44..1435fee 100755 (executable)
@@ -50,7 +50,7 @@ mkdir /tmp/$NAME
 # clean stuff up first
 cd ..;make uberclean
 # sync the stuff to a working directory
-rsync -a . /tmp/$NAME/ --exclude=.hg* --exclude=*.rej --delete
+rsync -a . /tmp/$NAME/ --exclude=.hg* --exclude=.git* --exclude=*.rej --delete
 cd /tmp/
 echo "### creating /tmp/$NAME.tar.gz"
 tar -czf /tmp/$NAME.tar.gz $NAME