Quoting EANT_BUILD_XML in default src_compile to allow spaces in it.
authorPetteri Räty <betelgeuse@gentoo.org>
Mon, 18 Dec 2006 10:09:58 +0000 (10:09 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Mon, 18 Dec 2006 10:09:58 +0000 (10:09 +0000)
eclass/java-pkg-2.eclass

index 6a495814236b4c55f90d05571c23507eff51ad45..b7a8f8d11a2f4e62034dc65a664ad08b85b908ea 100644 (file)
@@ -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