diff options
author | Jim Meyering <meyering@redhat.com> | 2007-12-01 19:03:00 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-12-01 19:03:00 +0100 |
commit | f25ce1bc941e3ce47314d10f2accb13ec039f23d (patch) | |
tree | 383e8993c9437ee34fcf0cfc5fab4f6b87e413e6 | |
parent | 214d27e1464e405526d1c6355b5fdeb8ece138ac (diff) | |
download | coreutils-f25ce1bc941e3ce47314d10f2accb13ec039f23d.tar.xz |
* Makefile.maint (vc-tag-check): Correct check for existing git tag.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Makefile.maint | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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; \ |