summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-05-09 02:39:31 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-05-09 02:39:31 +0000
commit6ce703782b1a0172120e4f121ac0ffb63fd2c759 (patch)
tree3c6e449cc338dbed2320c26ed8e94a3fac500d63 /mk
parent260d3063e7d76fa39ccc29e405cd76adc1cdba3c (diff)
downloadpkgsrc-6ce703782b1a0172120e4f121ac0ffb63fd2c759.tar.gz
don't exit if a depends can't be pkg_add'ed. In this case it will be
rebuilt from sources.
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/bsd.bulk-pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk
index 4d4800d7af6..3813b89c87b 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.25 2001/05/03 21:19:55 dmcmahill Exp $
+# $NetBSD: bsd.bulk-pkg.mk,v 1.26 2001/05/09 02:39:31 dmcmahill Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@netbsd.org>
@@ -246,7 +246,7 @@ bulk-package:
if ! ${PKG_INFO} -qe $$pkgname ; then \
if [ -f $$pkgfile ]; then \
${ECHO_MSG} "BULK> ${PKG_ADD} $$pkgfile"; \
- ${DO} ${PKG_ADD} $$pkgfile ; \
+ ${DO} ${PKG_ADD} $$pkgfile || ${ECHO_MSG} "warning: could not add $$pkgfile." ; \
else \
${ECHO_MSG} "BULK> warning: $$pkgfile does not exist. It will be rebuilt." ;\
fi ;\