1 |
commit: 2594bfb030e5c613dea137cbbd60e8e4098990ff |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 16 23:45:14 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 24 04:54:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2594bfb0 |
7 |
|
8 |
python-r1.eclass: localise 'i' in python_setup |
9 |
|
10 |
Reported-by: Kerin Millar <kfm <AT> plushkava.net> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
eclass/python-r1.eclass | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass |
17 |
index 2fd5c70120e9..caa37bc54ae2 100644 |
18 |
--- a/eclass/python-r1.eclass |
19 |
+++ b/eclass/python-r1.eclass |
20 |
@@ -729,7 +729,7 @@ python_setup() { |
21 |
fi |
22 |
|
23 |
# (reverse iteration -- newest impl first) |
24 |
- local found |
25 |
+ local found i |
26 |
_python_verify_patterns "${@}" |
27 |
for (( i = ${#_PYTHON_SUPPORTED_IMPLS[@]} - 1; i >= 0; i-- )); do |
28 |
local impl=${_PYTHON_SUPPORTED_IMPLS[i]} |