diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2001-03-31 00:03:03 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2001-03-31 00:03:03 +0000 |
commit | fe65792de1bd3b2c858b5a95b07afd05d0a35001 (patch) | |
tree | 50531971cc32c03bdaa657229c1f8cbbef106bc7 /mk | |
parent | aaf127f2326b472486e969400f50c9be3726767d (diff) | |
download | pkgsrc-fe65792de1bd3b2c858b5a95b07afd05d0a35001.tar.gz |
get rid of an unneeded awk invocation
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/bsd.bulk-pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk index 07a04fd94c0..6614272cf6e 100644 --- a/mk/bulk/bsd.bulk-pkg.mk +++ b/mk/bulk/bsd.bulk-pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.bulk-pkg.mk,v 1.22 2001/03/19 11:25:39 dmcmahill Exp $ +# $NetBSD: bsd.bulk-pkg.mk,v 1.23 2001/03/31 00:03:03 dmcmahill Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@netbsd.org> @@ -206,7 +206,7 @@ bulk-package: if [ "${PRECLEAN}" = "yes" -a "${USE_BULK_CACHE}" = "yes" ]; then \ ${ECHO_MSG} "BULK> Removing installed packages which are not needed to build ${PKGNAME}" ; \ thisdir=`${AWK} '/ ${PKGNAME} / {print $$1}' ${INDEXFILE}`; \ - for pkgname in `${PKG_INFO} | ${AWK} '{print $$1}'` ; \ + for pkgname in `${PKG_INFO} -e \*` ; \ do \ pkgdir=`${GREP} " $$pkgname " ${INDEXFILE} | ${AWK} '{print $$1}'` ;\ if ${PKG_INFO} -qe $$pkgname ; then \ |