From: Adam Dickmeiss Date: Wed, 10 Jul 2013 12:52:50 +0000 (+0000) Subject: Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/git-tools X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=99d47481d8e24edd989acd3e227a4f5382cbf97c;hp=458ae70bd6296a8e385c4c2cd9b79e8aef1e9d43;p=git-tools-moved-to-github.git Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/git-tools --- diff --git a/id-deb-build/mkdist.sh b/id-deb-build/mkdist.sh index 2aa0d5a..52ef1e9 100755 --- a/id-deb-build/mkdist.sh +++ b/id-deb-build/mkdist.sh @@ -19,9 +19,11 @@ DEBCHANGELOG=debian/changelog if [ "x$NAME" != x ]; then echo "Got name $NAME from IDMETA file" -else +elif test -f $DEBCHANGELOG; then NAME=`head -1 $DEBCHANGELOG|sed 's/ .*//g'` echo "Warning: assuming name $NAME from $DEBCHANGELOG" +else + die "No $DEBCHANGELOG and no NAME in IDMETA" fi if [ "x$2" != x ]; then