From: Jim Meyering Date: Sat, 1 Dec 2007 18:03:00 +0000 (+0100) Subject: * Makefile.maint (vc-tag-check): Correct check for existing git tag. X-Git-Tag: v6.9.90~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f25ce1bc941e3ce47314d10f2accb13ec039f23d;p=thirdparty%2Fcoreutils.git * Makefile.maint (vc-tag-check): Correct check for existing git tag. --- diff --git a/ChangeLog b/ChangeLog index 73c5596f77..4c5e129a08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-12-01 Jim Meyering + * 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 e5b4e0b9a3..7a7326d4b8 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; \