commit:     281d8924745172051af2946f2d8d2df42af1c6b0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 04:45:27 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 26 04:45:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281d8924

java-pkg-simple.eclass: drop invalid local in global scope

Thanks to radhermit for reporting. Portage doesn't notice this because
it does sourcing in function-scope.

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

 eclass/java-pkg-simple.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass
index 929ce68c6c07..bf395c99f1a3 100644
--- a/eclass/java-pkg-simple.eclass
+++ b/eclass/java-pkg-simple.eclass
@@ -36,7 +36,7 @@ S="${WORKDIR}"
 
 # handle dependencies for testing frameworks
 if has test ${JAVA_PKG_IUSE}; then
-       local test_deps
+       test_deps=
        for framework in ${JAVA_TESTING_FRAMEWORKS}; do
                case ${framework} in
                        junit)

Reply via email to