(cvs-dist): Search for `$tag:' rather than just $tag
authorJim Meyering <jim@meyering.net>
Sat, 14 Nov 1998 15:33:34 +0000 (15:33 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 14 Nov 1998 15:33:34 +0000 (15:33 +0000)
to avoid matching a prefix of another tag.

Makefile.maint

index 374661b..1d3e25c 100644 (file)
@@ -18,7 +18,7 @@ cvs-dist: maintainer-check
        ver=`echo "$(VERSION)" | sed 's/\./_/g'`; \
        tag="$$pkg-$$ver"; \
        echo tag=$$tag; \
-       if cvs -n log -h README| grep -e $$tag > /dev/null; then \
+       if cvs -n log -h README| grep -e $$tag: > /dev/null; then \
          echo "VERSION not new; not tagging" 1>&2; \
          exit 1; \
        fi; \