pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Make CHECK_FILES_SKIP_CMD into a single grep, using...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0b14c917e308
branches: trunk
changeset: 488079:0b14c917e308
user: tv <tv%pkgsrc.org@localhost>
date: Mon Jan 24 18:44:38 2005 +0000
description:
Make CHECK_FILES_SKIP_CMD into a single grep, using a ${var:@foo@bar@} loop.
diffstat:
mk/bsd.pkg.mk | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diffs (25 lines):
diff -r 0a883a6bb6dc -r 0b14c917e308 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Mon Jan 24 18:20:57 2005 +0000
+++ b/mk/bsd.pkg.mk Mon Jan 24 18:44:38 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1569 2005/01/24 18:20:57 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1570 2005/01/24 18:44:38 tv Exp $
#
# This file is in the public domain.
#
@@ -3081,13 +3081,8 @@
.for d o g m in ${MAKE_DIRS_PERMS} ${OWN_DIRS_PERMS}
CHECK_FILES_SKIP+= ${d}
.endfor
-.undef e c d o g m
-
-CHECK_FILES_SKIP_CMD=
-.for name in ${CHECK_FILES_SKIP}
-CHECK_FILES_SKIP_CMD+= | ${GREP} -v ${name}
-.endfor
-.undef name
+
+CHECK_FILES_SKIP_CMD= | ${GREP} -v ${CHECK_FILES_SKIP:@f@-e ${f:Q}@}
# Check if the generated PLIST matches the list of really installed files.
#
Home |
Main Index |
Thread Index |
Old Index