From: Tim Harder Date: Fri, 3 Mar 2017 20:49:16 +0000 (-0500) Subject: python-r1.eclass: localize variable to avoid leaking into the env X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7d2c73b93294509cd500ed00ef046a4c6e5eaa3d;p=gentoo.git python-r1.eclass: localize variable to avoid leaking into the env --- diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 929ec8fa8f89..4d27881cd5c4 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -476,6 +476,7 @@ _python_obtain_impls() { MULTIBUILD_VARIANTS=() + local impl for impl in "${_PYTHON_SUPPORTED_IMPLS[@]}"; do has "${impl}" "${PYTHON_COMPAT[@]}" && \ use "python_targets_${impl}" && MULTIBUILD_VARIANTS+=( "${impl}" )