mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
python-any-r1.eclass: localise 'i' in python_setup
Reported-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user