From: Michael Wagner Date: Wed, 18 Apr 2018 16:36:35 +0000 (+0200) Subject: phpide X-Git-Tag: sysd2sysv_0.1-1~2^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=92637bbe59b7bbd1550b7a577f349263773df4e2;p=projects.git phpide --- diff --git a/tools/make/mconfigure b/tools/make/mconfigure index b16fd55..8ce366e 100755 --- a/tools/make/mconfigure +++ b/tools/make/mconfigure @@ -31,13 +31,14 @@ function set_build { } function check_version { + vline=$(head -1 debian/$paket.changelog) + vline=${vline%-*} + clversion=${vline#*(} if [ $version = "0.0" ] then + version=$clversion return fi - vline=$(head -1 debian/$paket.changelog) - vline=${vline%-*} - clversion=${vline#*(} if [ "$clversion" != $version ] then echo "version mismatch: git: $version, changelog: $clversion"