From: Jim Meyering Date: Sat, 14 Nov 1998 15:33:34 +0000 (+0000) Subject: (cvs-dist): Search for `$tag:' rather than just $tag X-Git-Tag: FILEUTILS-4_0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a0eef528c1767e8a8a5252e800aa551f594015;p=thirdparty%2Fcoreutils.git (cvs-dist): Search for `$tag:' rather than just $tag to avoid matching a prefix of another tag. --- diff --git a/Makefile.maint b/Makefile.maint index 374661bec0..1d3e25cbbe 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -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; \