pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk quote some args to ${GREP}.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/021a76349369
branches:  trunk
changeset: 459806:021a76349369
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Aug 08 08:51:01 2003 +0000

description:
quote some args to ${GREP}.

from gavan@.

diffstat:

 mk/bulk/bsd.bulk-pkg.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 082f8a6d1212 -r 021a76349369 mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk   Fri Aug 08 08:43:37 2003 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk   Fri Aug 08 08:51:01 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.bulk-pkg.mk,v 1.46 2003/07/25 11:29:33 dmcmahill Exp $
+#      $NetBSD: bsd.bulk-pkg.mk,v 1.47 2003/08/08 08:51:01 grant Exp $
 
 #
 # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%netbsd.org@localhost>
@@ -161,7 +161,7 @@
        if [ "$$uptodate" = "1" ]; then \
                ${SHCOMMENT} "Check required binary packages" ; \
                deps=`${PKG_INFO} -qf ${REF} \
-                     | ${GREP} ^@pkgdep \
+                     | ${GREP} '^@pkgdep' \
                      | ${SED} 's,@pkgdep.,,g'`; \
                for dep in $$deps ; do \
                        ${SHCOMMENT} "check against the binary pkg that pkg_add would pick, too:" ; \
@@ -195,7 +195,7 @@
                ${ECHO_MSG} '###' ; \
                ${ECHO_MSG} '###' `date`: ; \
                ${ECHO_MSG} '### ${MAKE} ${.TARGET} for ${PKGNAME}' ; \
-               ${ECHO_MSG} '### Current pkg count: ' `${LS} -l ${PKG_DBDIR} | ${GREP} ^d | ${WC} -l` installed packages: `${LS} ${PKG_DBDIR} | ${GREP} -v pkgdb.byfile.db`; \
+               ${ECHO_MSG} '### Current pkg count: ' `${LS} -l ${PKG_DBDIR} | ${GREP} '^d' | ${WC} -l` installed packages: `${LS} ${PKG_DBDIR} | ${GREP} -v pkgdb.byfile.db`; \
                ${ECHO_MSG} '###' ; \
        fi \
        ) 2>&1 | tee -a ${BUILDLOG}



Home | Main Index | Thread Index | Old Index