From 9e10bdb5a7a14e5fc51d9e39d33ea047a1226f14 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 13 Jul 2010 16:24:51 +0100 Subject: [PATCH] Remove modules directory from tarball. --- mkdist.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mkdist.sh b/mkdist.sh index 9bcb7ad..199ffaf 100755 --- 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 -- 1.7.10.4