exclude .rej files during tarball creation
authorHannes Gredler <hannes@gredler.at>
Thu, 21 Aug 2008 11:01:37 +0000 (13:01 +0200)
committerHannes Gredler <hannes@gredler.at>
Thu, 21 Aug 2008 11:01:37 +0000 (13:01 +0200)
scripts/mk-tarball.sh

index 853c371..21a6e44 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* --delete
+rsync -a . /tmp/$NAME/ --exclude=.hg* --exclude=*.rej --delete
 cd /tmp/
 echo "### creating /tmp/$NAME.tar.gz"
 tar -czf /tmp/$NAME.tar.gz $NAME