diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-07-08 11:35:01 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-07-08 11:35:01 +0000 |
commit | baadba17c7b0a2506516dfbdaaa2657ba382e134 (patch) | |
tree | 4d099c7da5d73a6ca9073754ca3713eee085e3dd /eclass/java-pkg-simple.eclass | |
parent | Adding Francois Bissey's fix for bug 366945 (diff) | |
download | gentoo-2-baadba17c7b0a2506516dfbdaaa2657ba382e134.tar.gz gentoo-2-baadba17c7b0a2506516dfbdaaa2657ba382e134.tar.bz2 gentoo-2-baadba17c7b0a2506516dfbdaaa2657ba382e134.zip |
Convert every instance of hasq to has.
Diffstat (limited to 'eclass/java-pkg-simple.eclass')
-rw-r--r-- | eclass/java-pkg-simple.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass index aea850e07957..8d4411a59cac 100644 --- a/eclass/java-pkg-simple.eclass +++ b/eclass/java-pkg-simple.eclass @@ -4,11 +4,11 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-simple.eclass,v 1.1 2010/01/16 18:48:39 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-simple.eclass,v 1.2 2011/07/08 11:35:01 ssuominen Exp $ inherit java-utils-2 -if ! hasq java-pkg-2 ${INHERITED}; then +if ! has java-pkg-2 ${INHERITED}; then eerror "java-pkg-simple eclass can only be inherited AFTER java-pkg-2" fi @@ -128,7 +128,7 @@ java-pkg-simple_src_compile() { @${sources} # javadoc - if hasq doc ${JAVA_PKG_IUSE} && use doc; then + if has doc ${JAVA_PKG_IUSE} && use doc; then mkdir -p ${apidoc} java-pkg-simple_verbose-cmd \ javadoc -d ${apidoc} \ @@ -162,13 +162,13 @@ java-pkg-simple_src_install() { java-pkg_dojar ${PN}.jar # javadoc - if hasq doc ${JAVA_PKG_IUSE} && use doc; then + if has doc ${JAVA_PKG_IUSE} && use doc; then java-pkg-simple_verbose-cmd \ java-pkg_dojavadoc ${apidoc} fi # dosrc - if hasq source ${JAVA_PKG_IUSE} && use source; then + if has source ${JAVA_PKG_IUSE} && use source; then local srcdirs="" if [[ ${JAVA_SRC_DIR} ]]; then local parent child |