summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Makefile.maint2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 73c5596f7..4c5e129a0 100644
--- 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
diff --git a/Makefile.maint b/Makefile.maint
index e5b4e0b9a..7a7326d4b 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -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; \