diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-20 20:50:33 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-20 20:50:33 +0000 |
commit | 112ab04f8d1abcd23657f2d3062ba96e73e4925f (patch) | |
tree | 534722d5d3cf1cb109eb7a59a68524aaf1ea98af /eclass | |
parent | Version bump. Fixed major bug resulted in inability to receive messages from ... (diff) | |
download | historical-112ab04f8d1abcd23657f2d3062ba96e73e4925f.tar.gz historical-112ab04f8d1abcd23657f2d3062ba96e73e4925f.tar.bz2 historical-112ab04f8d1abcd23657f2d3062ba96e73e4925f.zip |
Make eant add -q to ant options with PORTAGE_QUIET is set.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 7 |
1 files 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}" |