diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-01-01 13:57:21 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-01-08 06:14:36 +0100 |
commit | 1574851ef2a46cc6cccdeacbdbb9b14f21ca5c97 (patch) | |
tree | 4bf7736a4a858c28785fc0d16ad3cc81f7889c4f /eclass | |
parent | scons-utils.eclass: _scons_clean_makeopts, fix result caching (diff) | |
download | gentoo-1574851ef2a46cc6cccdeacbdbb9b14f21ca5c97.tar.gz gentoo-1574851ef2a46cc6cccdeacbdbb9b14f21ca5c97.tar.bz2 gentoo-1574851ef2a46cc6cccdeacbdbb9b14f21ca5c97.zip |
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.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/scons-utils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
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=${*} } |