From: Petteri Räty Date: Mon, 18 Dec 2006 10:09:58 +0000 (+0000) Subject: Quoting EANT_BUILD_XML in default src_compile to allow spaces in it. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dade40fcd5e5c99fab5dddd95716146db92fad40;p=gentoo.git Quoting EANT_BUILD_XML in default src_compile to allow spaces in it. --- diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass index 6a495814236b..b7a8f8d11a2f 100644 --- a/eclass/java-pkg-2.eclass +++ b/eclass/java-pkg-2.eclass @@ -5,7 +5,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.6 2006/12/17 16:44:06 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.7 2006/12/18 10:09:58 betelgeuse Exp $ inherit java-utils-2 @@ -60,7 +60,7 @@ java-pkg-2_src_compile() { if [[ -e "${EANT_BUILD_XML:=build.xml}" ]]; then local antflags="${EANT_BUILD_TARGET:=jar}" hasq doc ${IUSE} && antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})" - eant ${antflags} -f ${EANT_BUILD_XML} + eant ${antflags} -f "${EANT_BUILD_XML}" else vecho "${FUNCNAME}: No build.xml found so nothing to do." fi