From: Michael Wagner Date: Thu, 11 Apr 2019 19:45:44 +0000 (+0200) Subject: posaune X-Git-Tag: mbuild_0.4-1~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a5167266107ee7a73a48b3758708dc4e0ae274b9;p=projects.git posaune --- 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