From ae93a65c5c9e4672e58a8706806027eb1bc186e0 Mon Sep 17 00:00:00 2001 From: kristerw Date: Sun, 25 Sep 2005 00:02:27 +0000 Subject: Use ${GREP} -vx instead of ${GREP} -v when filtering the list of files. This prevents it from incorrectly report errors for files with a name that is a prefix of a file in the CHECK_FILES_SKIP list. --- mk/bsd.pkg.check.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.check.mk b/mk/bsd.pkg.check.mk index 1e8037e457c..73f86fb20e7 100644 --- a/mk/bsd.pkg.check.mk +++ b/mk/bsd.pkg.check.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.check.mk,v 1.15 2005/09/03 23:28:30 jlam Exp $ +# $NetBSD: bsd.pkg.check.mk,v 1.16 2005/09/25 00:02:27 kristerw Exp $ # # This Makefile fragment is included by bsd.pkg.mk and defines the # relevant variables and targets for the various install-time "check" @@ -66,7 +66,7 @@ CHECK_FILES_SKIP+= ${d:C/^([^\/])/${PREFIX}\/\1/} .for d o g m in ${MAKE_DIRS_PERMS} ${OWN_DIRS_PERMS} CHECK_FILES_SKIP+= ${d:C/^([^\/])/${PREFIX}\/\1/} .endfor -_CHECK_FILES_SKIP_FILTER= ${GREP} -v ${CHECK_FILES_SKIP:@f@-e ${f:Q}@} +_CHECK_FILES_SKIP_FILTER= ${GREP} -vx ${CHECK_FILES_SKIP:@f@-e ${f:Q}@} ########################################################################### # These are the files generated and used by the check-files implementation -- cgit v1.2.3