commit: 8835e26e29c3bda8d491297adc06d91dcf264515
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 19 23:58:18 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 26 04:44:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8835e26e
java-ant-2.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-ant-2.eclass | 1 -
1 file changed, 1 deletion(-)
diff --git a/eclass/java-ant-2.eclass b/eclass/java-ant-2.eclass
index 3b4a71a402ed..ee7aa39ddea0 100644
--- a/eclass/java-ant-2.eclass
+++ b/eclass/java-ant-2.eclass
@@ -59,7 +59,6 @@ if [[ -z "${JAVA_ANT_DISABLE_ANT_CORE_DEP}" ]]; then
fi
# add ant tasks specified in WANT_ANT_TASKS to DEPEND
-local ANT_TASKS_DEPEND;
ANT_TASKS_DEPEND="$(java-pkg_ant-tasks-depend)"
# check that java-pkg_ant-tasks-depend didn't fail
if [[ $? != 0 ]]; then