summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-03-03 15:49:16 -0500
committerMichał Górny <mgorny@gentoo.org>2017-03-08 08:35:41 +0100
commit7d2c73b93294509cd500ed00ef046a4c6e5eaa3d (patch)
tree416f521aa5ccadd574d069378a9682e400539bab /eclass/python-r1.eclass
parentpython-utils-r1.eclass: python_wrapper_setup, fix exporting env (diff)
downloadgentoo-7d2c73b93294509cd500ed00ef046a4c6e5eaa3d.tar.gz
gentoo-7d2c73b93294509cd500ed00ef046a4c6e5eaa3d.tar.bz2
gentoo-7d2c73b93294509cd500ed00ef046a4c6e5eaa3d.zip
python-r1.eclass: localize variable to avoid leaking into the env
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r--eclass/python-r1.eclass1
1 files changed, 1 insertions, 0 deletions
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}" )