From: Michał Górny Date: Fri, 1 Jan 2016 12:57:21 +0000 (+0100) Subject: scons-utils.eclass: _scons_clean_makeopts, stop exporting cache vars X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1574851ef2a46cc6cccdeacbdbb9b14f21ca5c97;p=gentoo.git scons-utils.eclass: _scons_clean_makeopts, stop exporting cache vars Cache vars need only to be global to be preserved across calls. Exporting them is undesired. --- diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass index 4da2c4ac7a5c..82e45e3c080e 100644 --- a/eclass/scons-utils.eclass +++ b/eclass/scons-utils.eclass @@ -177,7 +177,7 @@ _scons_clean_makeopts() { debug-print "Cache hit: [${SCONSOPTS}]" return fi - export _SCONS_CACHE_MAKEOPTS=${*} + _SCONS_CACHE_MAKEOPTS=${*} while [[ ${#} -gt 0 ]]; do case ${1} in @@ -236,7 +236,7 @@ _scons_clean_makeopts() { done set -- ${new_makeopts} - export _SCONS_CACHE_SCONSOPTS=${*} + _SCONS_CACHE_SCONSOPTS=${*} debug-print "New SCONSOPTS: [${*}]" SCONSOPTS=${*} }