summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2001-05-09 02:39:31 +0000
committerdmcmahill <dmcmahill>2001-05-09 02:39:31 +0000
commit3622bc902ffadf9f19c8b06a3b2a741da9ad1b8a (patch)
tree3c6e449cc338dbed2320c26ed8e94a3fac500d63 /mk
parent2e86bc8c5c5b1e95828556c95c77e57d218d931c (diff)
downloadpkgsrc-3622bc902ffadf9f19c8b06a3b2a741da9ad1b8a.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 ;\