summaryrefslogtreecommitdiff
path: root/mk/bulk/build
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-06 17:12:55 +0000
committerrillig <rillig@pkgsrc.org>2005-11-06 17:12:55 +0000
commitcff917128e71bf1aefff77a1b1de6529be2d3da4 (patch)
tree943cc4c906836f41cdc3eb6d649fd8ea269faefb /mk/bulk/build
parentf16fe918819a9cad32933aa9a390002997f31046 (diff)
downloadpkgsrc-cff917128e71bf1aefff77a1b1de6529be2d3da4.tar.gz
Added basic checks to make sure the values from the configuration file are
somewhat sane. If a check fails, the bulk build is terminated. Removed the conditional under which MAKECONF is exported, as it is not needed anymore.
Diffstat (limited to 'mk/bulk/build')
-rw-r--r--mk/bulk/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/bulk/build b/mk/bulk/build
index d82f5517f39..765752fcea3 100644
--- a/mk/bulk/build
+++ b/mk/bulk/build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.69 2005/11/06 10:27:57 seb Exp $
+# $NetBSD: build,v 1.70 2005/11/06 17:12:55 rillig Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -181,6 +181,7 @@ esac
{ test -f "${BULK_BUILD_CONF}" \
&& . "${BULK_BUILD_CONF}" \
&& . "${scriptdir}/post-build-conf" \
+ && check_config_vars \
&& export_config_vars
} || die "Cannot load config file ${BULK_BUILD_CONF}, aborting."