From c726be37cde462c6e9ccd25b7c928342e388ceb7 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 11 Aug 2010 12:19:50 +0100 Subject: [PATCH] Replace local mkdist.sh with reference to global one. --- mkdist.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/mkdist.sh b/mkdist.sh index 199ffaf..27280f5 100755 --- a/mkdist.sh +++ b/mkdist.sh @@ -1,15 +1,3 @@ -# Creates a distribution tarball of the kind that Debian packages are -# made from. -DEBCHANGELOG=debian/changelog - -l=`head -1 $DEBCHANGELOG` -NAME=`echo $l|sed 's/ .*//g'` -FULLVERSION=`echo $l|sed 's/.*(//g'|sed 's/).*//g'` -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,archive,modules} -tar cfz $NAME-$VERSION.tar.gz $NAME-$VERSION -rm $NAME-$VERSION.tar -rm -r $NAME-$VERSION +echo "Projects should no longer have their own mkdist.sh script" +echo "Use the generic one in git-tools/id-deb-build/mkdist.sh" +exit 1 -- 1.7.10.4