diff options
author | jmc <jmc@pkgsrc.org> | 2002-03-04 17:21:46 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2002-03-04 17:21:46 +0000 |
commit | 137fef7db00bffc7e4d6a8ff6dd5d6e0cef05a3d (patch) | |
tree | 4621442664c91f0dff5874b88619100f4b783819 | |
parent | 390ab6986b14d535b0a221278f4a7f2a19898617 (diff) | |
download | pkgsrc-137fef7db00bffc7e4d6a8ff6dd5d6e0cef05a3d.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.
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
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 \ |