diff options
author | rh <rh> | 1999-09-15 05:39:38 +0000 |
---|---|---|
committer | rh <rh> | 1999-09-15 05:39:38 +0000 |
commit | eeb03ff4fc4dbfee4527e2fc16fc9c937bbcb7e7 (patch) | |
tree | 3127d29f8638a59ec718069e1f91956ac9fd4c7e | |
parent | d039ed80ea94cf080231263ba5c3fb0f0a9ff1db (diff) | |
download | pkgsrc-eeb03ff4fc4dbfee4527e2fc16fc9c937bbcb7e7.tar.gz |
In ${DDIR} creation, change ${GREP} to ${EGREP} and modify pattern to only
match package Makefiles. This fixes pkg/8396.
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 33d1d76d15f..83f0b2ee025 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.338 1999/09/14 02:32:24 kim Exp $ +# $NetBSD: bsd.pkg.mk,v 1.339 1999/09/15 05:39:38 rh Exp $ # # This file is in the public domain. # @@ -1643,7 +1643,8 @@ ${DDIR}: ${DLIST} ${_PKG_SILENT}${_PKG_DEBUG} \ ddir=`${SED} 's:-[^-]*$$::' <${DLIST}` ; \ if ${PKG_INFO} -b $${ddir} >/dev/null 2>&1 ; then \ - ${PKG_INFO} -b $${ddir} | ${GREP} Makefile | \ + ${PKG_INFO} -b $${ddir} | \ + ${EGREP} '^[^/]+/[^/]+/Makefile:' | \ ${CUT} -d'/' -f1-2 >${DDIR} ; \ else \ ${ECHO} >${DDIR} ; \ |