diff options
author | rillig <rillig@pkgsrc.org> | 2007-05-31 11:49:09 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-05-31 11:49:09 +0000 |
commit | 2b47403955e29a6d23a7a64c564ecf8d752ffc49 (patch) | |
tree | 1a45aa11506f40f7f602ce672ebb7d227d99c712 /mk/bulk | |
parent | ee4497185dfc599b3f2746f0057762b32756ff01 (diff) | |
download | pkgsrc-2b47403955e29a6d23a7a64c564ecf8d752ffc49.tar.gz |
If a package is already installed, bulk-install should not try to build
it again.
Diffstat (limited to 'mk/bulk')
-rw-r--r-- | mk/bulk/bsd.bulk-pkg.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk index a7589d42ae6..468facd5edc 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.142 2007/05/23 10:50:44 rillig Exp $ +# $NetBSD: bsd.bulk-pkg.mk,v 1.143 2007/05/31 11:49:09 rillig Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org> @@ -568,7 +568,8 @@ bulk-package: # been modified and need rebuilding. .PHONY: bulk-install bulk-install: - @if [ `${RECURSIVE_MAKE} bulk-check-uptodate REF=${PKGFILE}` = 1 ]; then \ + ${RUN} if ${PKG_INFO} -qe ${PKGNAME} ; then exit 0; fi; \ + if [ `${RECURSIVE_MAKE} bulk-check-uptodate REF=${PKGFILE}` = 1 ]; then \ if ${PKG_INFO} -qe ${PKGNAME} ; then :; \ else \ ${DO} ${RECURSIVE_MAKE} install-depends ; \ |