(cvs-dist): Search for `$tag:' rather than just $tag

to avoid matching a prefix of another tag.
This commit is contained in:
Jim Meyering 1998-11-14 15:33:34 +00:00
parent b7657496c3
commit d8a0eef528

View 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; \