From 92637bbe59b7bbd1550b7a577f349263773df4e2 Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Wed, 18 Apr 2018 18:36:35 +0200 Subject: [PATCH] phpide --- tools/make/mconfigure | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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" -- 2.20.1