commit:     1a1e5e76f40324d6e679270e208fabdb7d440739
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 10:44:59 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 10:45:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1e5e76

sci-mathematics/wxmaxima: add 'local' before for loop

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/wxmaxima/wxmaxima-21.01.0.ebuild | 1 +
 sci-mathematics/wxmaxima/wxmaxima-21.04.0.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sci-mathematics/wxmaxima/wxmaxima-21.01.0.ebuild 
b/sci-mathematics/wxmaxima/wxmaxima-21.01.0.ebuild
index 72cf6098d52..86038f4610e 100644
--- a/sci-mathematics/wxmaxima/wxmaxima-21.01.0.ebuild
+++ b/sci-mathematics/wxmaxima/wxmaxima-21.01.0.ebuild
@@ -67,6 +67,7 @@ src_test() {
                ImgCell
        )
 
+       local test
        for test in "${tests[@]}" ; do
                ./test_${test} || die "Unit test ${test} failed!"
        done

diff --git a/sci-mathematics/wxmaxima/wxmaxima-21.04.0.ebuild 
b/sci-mathematics/wxmaxima/wxmaxima-21.04.0.ebuild
index 72cf6098d52..86038f4610e 100644
--- a/sci-mathematics/wxmaxima/wxmaxima-21.04.0.ebuild
+++ b/sci-mathematics/wxmaxima/wxmaxima-21.04.0.ebuild
@@ -67,6 +67,7 @@ src_test() {
                ImgCell
        )
 
+       local test
        for test in "${tests[@]}" ; do
                ./test_${test} || die "Unit test ${test} failed!"
        done

Reply via email to