pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Use ${GREP} -vx instead of ${GREP} -v when filterin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3d0986fda88
branches:  trunk
changeset: 499489:f3d0986fda88
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sun Sep 25 00:02:27 2005 +0000

description:
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.

diffstat:

 mk/bsd.pkg.check.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8bbe660be2b4 -r f3d0986fda88 mk/bsd.pkg.check.mk
--- a/mk/bsd.pkg.check.mk       Sat Sep 24 21:00:25 2005 +0000
+++ b/mk/bsd.pkg.check.mk       Sun Sep 25 00:02:27 2005 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index