Make eant add -q to ant options with PORTAGE_QUIET is set.
authorPetteri Räty <betelgeuse@gentoo.org>
Sat, 20 Jan 2007 20:50:33 +0000 (20:50 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Sat, 20 Jan 2007 20:50:33 +0000 (20:50 +0000)
eclass/java-utils-2.eclass

index d638e573c468a8b2b0e7ff965890576738adab97..cb0baf5e68f000e803ec0382a20e63bfd20eae95 100644 (file)
@@ -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}"