mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
python-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:
@@ -729,7 +729,7 @@ python_setup() {
|
||||
fi
|
||||
|
||||
# (reverse iteration -- newest impl first)
|
||||
local found
|
||||
local found i
|
||||
_python_verify_patterns "${@}"
|
||||
for (( i = ${#_PYTHON_SUPPORTED_IMPLS[@]} - 1; i >= 0; i-- )); do
|
||||
local impl=${_PYTHON_SUPPORTED_IMPLS[i]}
|
||||
|
||||
Reference in New Issue
Block a user