]> Savannah Git Hosting - gnulib.git/commitdiff
Fix for last commit.
authorSimon Josefsson <simon@josefsson.org>
Sun, 13 Nov 2011 13:46:48 +0000 (14:46 +0100)
committerSimon Josefsson <simon@josefsson.org>
Sun, 13 Nov 2011 13:46:48 +0000 (14:46 +0100)
build-aux/git-version-gen

index 800c10719f5e6eabfc06c899bd4415812c46a977..c7a58af54edbd851587a4585d65fbb983492dae2 100755 (executable)
@@ -154,7 +154,7 @@ elif test "`git log -1 --pretty=format:x . 2>&1`" = x \
           || git describe --abbrev=4 HEAD 2>/dev/null` \
     && v=`printf '%s\n' "$v" | sed "$tag_sed_script"` \
     && case $v in
-         $prefix*) ;;
+         $prefix[0-9]*) ;;
          *) (exit 1) ;;
        esac
 then