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 | 3afdef01dce99f4172c8a8642438167e53f6b608 (patch) | |
tree | f9b59cf1fd9a621b1da8670ee9ae1ce334f65444 /eclass/java-pkg-simple.eclass | |
parent | Adding Francois Bissey's fix for bug 366945 (diff) | |
download | historical-3afdef01dce99f4172c8a8642438167e53f6b608.tar.gz historical-3afdef01dce99f4172c8a8642438167e53f6b608.tar.bz2 historical-3afdef01dce99f4172c8a8642438167e53f6b608.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 |