pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk Please, really only export MAKECONF if it is set.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/532a9832f8dc
branches:  trunk
changeset: 502997:532a9832f8dc
user:      seb <seb%pkgsrc.org@localhost>
date:      Sat Nov 12 11:10:08 2005 +0000

description:
Please, really only export MAKECONF if it is set.

diffstat:

 mk/bulk/post-build-conf |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 11695156fd2f -r 532a9832f8dc mk/bulk/post-build-conf
--- a/mk/bulk/post-build-conf   Sat Nov 12 07:41:42 2005 +0000
+++ b/mk/bulk/post-build-conf   Sat Nov 12 11:10:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: post-build-conf,v 1.6 2005/11/10 08:28:49 rillig Exp $
+# $NetBSD: post-build-conf,v 1.7 2005/11/12 11:10:08 seb Exp $
 #
 
 # This file is included after the build.conf file by the "build" and
@@ -47,12 +47,15 @@
 
 # usage: export_config_vars
 export_config_vars() {
-       export osrev arch BULK_BUILD_CONF USR_PKGSRC MAKECONF
+       export osrev arch BULK_BUILD_CONF USR_PKGSRC
        export CVS_USER CVS_FLAGS
        export PRUNEDISTFILES ftp_proxy http_proxy
        export PKGLIST NICE_LEVEL ADMIN ADMINSIG
        export UPDATE_VULNERABILITY_LIST PRUNEPACKAGES MKSUMS SIGN_AS
        export RSYNC_DST RSYNC_OPTS FTPHOST FTP
+       case ${MAKECONF+set} in
+       "set")  export MAKECONF;;
+       esac
 }
 
 # usage: pbc_die error-message



Home | Main Index | Thread Index | Old Index