Remove modules directory from tarball.
authorMike Taylor <mike@miketaylor.org.uk>
Tue, 13 Jul 2010 15:24:51 +0000 (16:24 +0100)
committerMike Taylor <mike@miketaylor.org.uk>
Tue, 13 Jul 2010 15:24:51 +0000 (16:24 +0100)
mkdist.sh

index 9bcb7ad..199ffaf 100755 (executable)
--- a/mkdist.sh
+++ b/mkdist.sh
@@ -9,8 +9,7 @@ VERSION=`echo $FULLVERSION|sed 's/-.*//g'`
 
 git archive --format=tar --prefix=$NAME-$VERSION/ HEAD > $NAME-$VERSION.tar
 tar xf $NAME-$VERSION.tar
-rm -r $NAME-$VERSION/debian
-rm -r $NAME-$VERSION/archive
+rm -r $NAME-$VERSION/{debian,archive,modules}
 tar cfz $NAME-$VERSION.tar.gz $NAME-$VERSION
 rm $NAME-$VERSION.tar
 rm -r $NAME-$VERSION