* Makefile.maint (vc-tag-check): Correct check for existing git tag.
authorJim Meyering <meyering@redhat.com>
Sat, 1 Dec 2007 18:03:00 +0000 (19:03 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 1 Dec 2007 18:03:00 +0000 (19:03 +0100)
ChangeLog
Makefile.maint

index 73c5596..4c5e129 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-12-01  Jim Meyering  <meyering@redhat.com>
 
+       * Makefile.maint (vc-tag-check): Correct check for existing git tag.
+
        Defer NEWS and ChangeLog checks until after the version-changing tag.
        * Makefile.maint (alpha beta major): Don't depend on the
        news-date-check changelog-check targets.  They must fail before
index e5b4e0b..7a7326d 100644 (file)
@@ -522,7 +522,7 @@ vc-tag-check:
          $(CVS) -n log -h README|grep -e $(this-vc-tag-regexp): >/dev/null \
            && used=yes;                                                \
        else                                                            \
-         $(GIT) tag -l '^$(this-vc-tag-regexp)$$' && used=yes;         \
+         test -n `$(GIT) tag -l '$(this-vc-tag)'` && used=yes;         \
        fi;                                                             \
        if test "$$used" = yes; then                                    \
          echo "$(this-vc-tag) has already been used; not tagging" 1>&2; \