commit:     7d2c73b93294509cd500ed00ef046a4c6e5eaa3d
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 20:49:16 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar  8 07:35:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2c73b9

python-r1.eclass: localize variable to avoid leaking into the env

 eclass/python-r1.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 929ec8fa8f8..4d27881cd5c 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}" )

Reply via email to