From 1574851ef2a46cc6cccdeacbdbb9b14f21ca5c97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 1 Jan 2016 13:57:21 +0100 Subject: [PATCH] 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. --- eclass/scons-utils.eclass | 4 ++-- 1 file 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=${*} } -- 2.26.2