summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/python-any-r1.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
index fc66434cc6bf..f1f54358000c 100644
--- a/eclass/python-any-r1.eclass
+++ b/eclass/python-any-r1.eclass
@@ -317,6 +317,7 @@ python_setup() {
# fallback to the best installed impl.
# (reverse iteration over _PYTHON_SUPPORTED_IMPLS)
+ local i
for (( i = ${#_PYTHON_SUPPORTED_IMPLS[@]} - 1; i >= 0; i-- )); do
local impl=${_PYTHON_SUPPORTED_IMPLS[i]}
# avoid checking EPYTHON twice