summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-26 05:45:27 +0100
committerSam James <sam@gentoo.org>2023-05-26 05:45:27 +0100
commit281d8924745172051af2946f2d8d2df42af1c6b0 (patch)
tree0a6bf95b26d90bf60d238ace01bbe35947db2214 /eclass/java-pkg-simple.eclass
parentjava-ant-2.eclass: drop invalid local in global scope (diff)
downloadgentoo-281d8924745172051af2946f2d8d2df42af1c6b0.tar.gz
gentoo-281d8924745172051af2946f2d8d2df42af1c6b0.tar.bz2
gentoo-281d8924745172051af2946f2d8d2df42af1c6b0.zip
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@gentoo.org>
Diffstat (limited to 'eclass/java-pkg-simple.eclass')
-rw-r--r--eclass/java-pkg-simple.eclass2
1 files changed, 1 insertions, 1 deletions
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)