X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/b51de7bb9a8b067840d509bedfdb55174bd4c00e..a5167266107ee7a73a48b3758708dc4e0ae274b9:/tools/make/mconfigure 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