Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 21 Jan 2019 21:28:15
Message-Id: 1548106082.41c6bbf6ad278aa0a2b7b85c76c240a9135f9e21.fordfrog@gentoo
1 commit: 41c6bbf6ad278aa0a2b7b85c76c240a9135f9e21
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 21 21:27:37 2019 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 21 21:28:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c6bbf6
7
8 java-utils-2.eclass: fix for >=dev-java/ant-core-1.9.13
9
10 ant does not like double quotes around classpath (bug #676002)
11
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 eclass/java-utils-2.eclass | 4 +++-
15 1 file changed, 3 insertions(+), 1 deletion(-)
16
17 diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
18 index 473b177e539..1ffd7a03399 100644
19 --- a/eclass/java-utils-2.eclass
20 +++ b/eclass/java-utils-2.eclass
21 @@ -2029,7 +2029,9 @@ eant() {
22
23 if [[ ${cp#:} ]]; then
24 # It seems ant does not like single quotes around ${cp}
25 - antflags="${antflags} -Dgentoo.classpath=\"${cp#:}\""
26 + # And ant 1.9.13+ also does not like double quotes around ${cp}
27 + # https://bz.apache.org/bugzilla/show_bug.cgi?id=58898
28 + antflags="${antflags} -Dgentoo.classpath=${cp#:}"
29 fi
30
31 [[ -n ${JAVA_PKG_DEBUG} ]] && echo ant ${antflags} "${@}"