From 97101291fb35bd4185dbe2e0944ee6a2be652ba0 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 9 Nov 2005 18:48:22 +0000 Subject: PRUNEDISTFILES and PRUNEPACKAGES may be left undefined in build.conf, as they get useful default values in the pre-build script. Thanks to kristerw for pointing that out. --- mk/bulk/post-build-conf | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'mk') diff --git a/mk/bulk/post-build-conf b/mk/bulk/post-build-conf index c1291dba371..970513db3c9 100644 --- a/mk/bulk/post-build-conf +++ b/mk/bulk/post-build-conf @@ -1,4 +1,4 @@ -# $NetBSD: post-build-conf,v 1.4 2005/11/06 17:14:07 rillig Exp $ +# $NetBSD: post-build-conf,v 1.5 2005/11/09 18:48:22 rillig Exp $ # # This file is included after the build.conf file by the "build" and @@ -131,8 +131,8 @@ check_config_vars() { pbc_checknonempty arch pbc_checkexistingfile BULK_BUILD_CONF pbc_checkexistingdir USR_PKGSRC - case ${MAKECONF+set} in set) - pbc_checkexistingfile MAKECONF;; + case ${MAKECONF+set} in + "set") pbc_checkexistingfile MAKECONF;; esac # section "Keeping pkgsrc up-to-date" @@ -140,7 +140,9 @@ check_config_vars() { # no checks for CVS_FLAGS # section "Getting distfiles" - pbc_checkyesno PRUNEDISTFILES + case ${PRUNEDISTFILES+set} in + "set") pbc_checkyesno PRUNEDISTFILES + esac # no checks for ftp_proxy # no checks for http_proxy @@ -152,7 +154,9 @@ check_config_vars() { # section "Uploading binary packages" pbc_checkyesno UPDATE_VULNERABILITY_LIST - pbc_checkyesno PRUNEPACKAGES + case ${PRUNEPACKAGES+set} in + "set") pbc_checkyesno PRUNEPACKAGES + esac pbc_checkyesno MKSUMS # no checks for SIGN_AS # no checks for RSYNC_DST -- cgit v1.2.3