summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjmc <jmc>2002-03-04 17:21:46 +0000
committerjmc <jmc>2002-03-04 17:21:46 +0000
commit7e87f8f04c82870fbae8e403fc62ff0798c30444 (patch)
tree4621442664c91f0dff5874b88619100f4b783819 /mk
parente5a7702ffb6a23fad0708115517ab36929e4d5f5 (diff)
downloadpkgsrc-7e87f8f04c82870fbae8e403fc62ff0798c30444.tar.gz
Redirect errors from grep in fake-pkg to /dev/null so complaints about not
being able to grep on a dir don't fly by and confuse people.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index c44f86dbf8e..2855d41afa8 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.939 2002/03/04 11:56:54 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.940 2002/03/04 17:21:46 jmc Exp $
#
# This file is in the public domain.
#
@@ -3645,7 +3645,7 @@ fake-pkg: ${PLIST} ${DESCR} ${MESSAGE}
else \
files=""; \
fi; \
- ${GREP} '\$$NetBSD' $$files ${PKGDIR}/* | ${SED} -e 's|^${_PKGSRCDIR}/||' > ${BUILD_VERSION_FILE}; \
+ ${GREP} '\$$NetBSD' $$files ${PKGDIR}/* 2> /dev/null | ${SED} -e 's|^${_PKGSRCDIR}/||' > ${BUILD_VERSION_FILE}; \
files=""; \
if [ -f ${DISTINFO_FILE} ]; then \
for f in `${AWK} 'NF == 4 && $$3 == "=" { gsub("[()]", "", $$2); print $$2 }' < ${DISTINFO_FILE}`; do \