summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-12-01 19:03:00 +0100
committerJim Meyering <meyering@redhat.com>2007-12-01 19:03:00 +0100
commitf25ce1bc941e3ce47314d10f2accb13ec039f23d (patch)
tree383e8993c9437ee34fcf0cfc5fab4f6b87e413e6 /Makefile.maint
parent214d27e1464e405526d1c6355b5fdeb8ece138ac (diff)
downloadcoreutils-f25ce1bc941e3ce47314d10f2accb13ec039f23d.tar.xz
* Makefile.maint (vc-tag-check): Correct check for existing git tag.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint2
1 files changed, 1 insertions, 1 deletions
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; \