From a5167266107ee7a73a48b3758708dc4e0ae274b9 Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Thu, 11 Apr 2019 21:45:44 +0200 Subject: [PATCH] posaune --- tools/make/mconfigure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/make/mconfigure b/tools/make/mconfigure index 09b6d3d..e94ead5 100755 --- a/tools/make/mconfigure +++ b/tools/make/mconfigure @@ -59,7 +59,7 @@ function set_build { function check_version { vline=$(head -1 debian/$paket.changelog) - vline=${vline%-*} + vline=${vline%[-)]*} clversion=${vline#*(} if [ $version = "0.0" ] then @@ -133,7 +133,7 @@ fi if [ $configure -eq 1 ] then # delete changelog and control - rm debian/changelog debian/control || true + rm debian/changelog debian/control 2>/dev/null || true # mconfigure builds 2 environment files: setenv.sh + rules.pre -- 2.20.1