From: Adam Dickmeiss Date: Wed, 2 Jul 2014 13:10:01 +0000 (+0200) Subject: mkdist.sh: do not use debian/changelog X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=68235912f0df8df6c64ba4412b8267132c0744ef;p=git-tools-moved-to-github.git mkdist.sh: do not use debian/changelog --- diff --git a/id-deb-build/mkdist.sh b/id-deb-build/mkdist.sh index 40a99ca..1506220 100755 --- a/id-deb-build/mkdist.sh +++ b/id-deb-build/mkdist.sh @@ -33,9 +33,8 @@ fi if [ "x$VERSION" != x ]; then echo "Got version $VERSION from IDMETA file" else - FULLVERSION=`head -1 $DEBCHANGELOG|sed 's/.*(//g'|sed 's/).*//g'` - VERSION=`echo $FULLVERSION|sed 's/-.*//g'` - echo "Warning: assuming version $VERSION from $DEBCHANGELOG" + echo "No VERSION in IDMETA" + exit 1 fi if [ "x$1" != x ]; then