From 41c6bbf6ad278aa0a2b7b85c76c240a9135f9e21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miroslav=20=C5=A0ulc?= <fordfrog@gentoo.org> Date: Mon, 21 Jan 2019 22:27:37 +0100 Subject: [PATCH] java-utils-2.eclass: fix for >=dev-java/ant-core-1.9.13 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ant does not like double quotes around classpath (bug #676002) Signed-off-by: Miroslav Å ulc <fordfrog@gentoo.org> --- eclass/java-utils-2.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 473b177e539a..1ffd7a03399b 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -2029,7 +2029,9 @@ eant() { if [[ ${cp#:} ]]; then # It seems ant does not like single quotes around ${cp} - antflags="${antflags} -Dgentoo.classpath=\"${cp#:}\"" + # And ant 1.9.13+ also does not like double quotes around ${cp} + # https://bz.apache.org/bugzilla/show_bug.cgi?id=58898 + antflags="${antflags} -Dgentoo.classpath=${cp#:}" fi [[ -n ${JAVA_PKG_DEBUG} ]] && echo ant ${antflags} "${@}" -- 2.26.2