diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-18 19:25:59 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-18 19:25:59 +0000 |
commit | 570143033773c591b78507a369652cfa829dc141 (patch) | |
tree | e49263641515f44d0ba480461b2a6b78327abdd2 /eclass/java-pkg.eclass | |
parent | Convinced upstream to backport some more UPnP fixes (diff) | |
download | gentoo-2-570143033773c591b78507a369652cfa829dc141.tar.gz gentoo-2-570143033773c591b78507a369652cfa829dc141.tar.bz2 gentoo-2-570143033773c591b78507a369652cfa829dc141.zip |
Use JAVA_PKG_STRICT instead of checking FEATURES and use ewarn instead of echo as STRICT is meant for developers any way.
Diffstat (limited to 'eclass/java-pkg.eclass')
-rw-r--r-- | eclass/java-pkg.eclass | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/eclass/java-pkg.eclass b/eclass/java-pkg.eclass index 3338b9240067..e2d5dcd540f6 100644 --- a/eclass/java-pkg.eclass +++ b/eclass/java-pkg.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.48 2006/12/03 15:27:48 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.49 2006/12/18 19:25:59 betelgeuse Exp $ inherit multilib @@ -489,7 +489,5 @@ java-pkg_dosrc() { java-pkg_announce-qa-violation() { - if hasq java-strict ${FEATURES}; then - echo "Java QA Notice: $@" >&2 - fi + [[ "${JAVA_PKG_STRICT}" ]] && ewarn "Java QA Notice: $@" } |