get rid of an unneeded awk invocation
This commit is contained in:
parent
aaf127f232
commit
fe65792de1
1 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue