X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/3478b5263153f59168ae8f50055211d1edd254a8..290f9a4e182a7c7a89765e58c9ba477be4fc4732:/tools/make/mconfigure diff --git a/tools/make/mconfigure b/tools/make/mconfigure index c551c41..a1ea508 100755 --- a/tools/make/mconfigure +++ b/tools/make/mconfigure @@ -36,16 +36,11 @@ function set_build { build="$build$(check_unversioned)" elif [ -e .git ] then - tag=$(git describe --tags 2>/dev/null) || true + tag=$(git describe --tags --match "${paket}_*" 2>/dev/null) || true if test -z "$tag" then tag="0.0-0TOP" fi - tag_paket=${tag%_*} - if [ "$tag_paket" != "$paket" ] - then - tag="0.0-0TOP" - fi changes=$(check_unversioned) tag="$tag$changes" version=${tag%-*}