From 3994621814a569ec4b58a9f991c6aaa7cf6f72cd Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 8 Oct 2014 09:09:22 +0200 Subject: [PATCH] mkdist does not read debian/changelog anymore --- mkdist.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/mkdist.sh b/mkdist.sh index bec7cbc..8ed8caa 100755 --- a/mkdist.sh +++ b/mkdist.sh @@ -1,21 +1,11 @@ #!/bin/sh set -x -DEBCHANGELOG=debian/changelog - -l=`head -1 $DEBCHANGELOG` -NAME=`echo $l|sed 's/ .*//g'` -FULLVERSION=`echo $l|sed 's/.*(//g'|sed 's/).*//g'` -DEBVERSION=`echo $FULLVERSION|sed 's/-.*//g'` . ./IDMETA -if test "$DEBVERSION" != "$VERSION"; then - echo "WARNING: File VERSION and debian/changelog do not match" - sleep 2 -fi git log >ChangeLog git archive --format=tar --prefix=$NAME-$VERSION/ HEAD > $NAME-$VERSION.tar tar xf $NAME-$VERSION.tar cp ChangeLog $NAME-$VERSION -cd $NAME-$VERSION +cd $NAME-$VERSION rm -fr debian cd .. tar cfz $NAME-$VERSION.tar.gz $NAME-$VERSION -- 1.7.10.4