From 2594bfb030e5c613dea137cbbd60e8e4098990ff Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 17 Aug 2022 00:45:14 +0100 Subject: [PATCH] python-r1.eclass: localise 'i' in python_setup Reported-by: Kerin Millar Signed-off-by: Sam James --- eclass/python-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 2fd5c70120e9f..caa37bc54ae24 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -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]}