From: Petteri Räty Date: Sat, 20 Jan 2007 20:50:33 +0000 (+0000) Subject: Make eant add -q to ant options with PORTAGE_QUIET is set. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=112ab04f8d1abcd23657f2d3062ba96e73e4925f;p=gentoo.git Make eant add -q to ant options with PORTAGE_QUIET is set. --- diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index d638e573c468..cb0baf5e68f0 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -6,7 +6,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.44 2007/01/20 11:14:31 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.45 2007/01/20 20:50:33 betelgeuse Exp $ # ----------------------------------------------------------------------------- @@ -1403,9 +1403,8 @@ eant() { antflags="${antflags} -Dbuild.sysclasspath=ignore" fi - if [[ -n ${JAVA_PKG_DEBUG} ]]; then - antflags="${antflags} -debug" - fi + [[ -n ${JAVA_PKG_DEBUG} ]] && antflags="${antflags} -debug" + [[ -n ${PORTAGE_QUIET} ]] && antflags="${antflags} -q" local gcp="${EANT_GENTOO_CLASSPATH}"