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 800c107..c7a58af 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