]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tools/git-version-gen: accept -start in version (as -rc)
authorKarel Zak <kzak@redhat.com>
Tue, 18 Feb 2025 17:40:47 +0000 (18:40 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Feb 2025 17:40:47 +0000 (18:40 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tools/git-version-gen

index 435f1fa7416d395b9e16fe47cd989be0a13596ad..bb3e11bcd88c4183aa327be1fa99fc594702f3c4 100755 (executable)
@@ -121,7 +121,7 @@ then
     v=`echo "$v" | sed 's/-g/-/'`;
 
     case $v in
-        *-rc*)
+        *-rc* | *-start*)
             ;;
         *)
             # Change the first '-' to a '.', so version-comparing tools work properly.