diff options
author | dmcmahill <dmcmahill> | 2001-03-31 00:03:03 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2001-03-31 00:03:03 +0000 |
commit | 05548ed4485c48c97e934bdee13fc65e309fe887 (patch) | |
tree | 50531971cc32c03bdaa657229c1f8cbbef106bc7 /mk/bulk | |
parent | 5d6a3ab8aeb2d000625a6016f05b0f24a6243f45 (diff) | |
download | pkgsrc-05548ed4485c48c97e934bdee13fc65e309fe887.tar.gz |
get rid of an unneeded awk invocation
Diffstat (limited to 'mk/bulk')
-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 \ |