From 112ab04f8d1abcd23657f2d3062ba96e73e4925f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Sat, 20 Jan 2007 20:50:33 +0000 Subject: [PATCH] Make eant add -q to ant options with PORTAGE_QUIET is set. --- eclass/java-utils-2.eclass | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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}" -- 2.26.2