commit:     225641306851ae7d035dcadad342b110ce76f32a
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 23:20:37 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 22:17:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22564130

eclass/java-utils-2.eclass: Convert the few remaining bits to EAPI 6.

 eclass/java-utils-2.eclass | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index d2af9f292a..503aae35ca 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -590,13 +590,13 @@ java-pkg_sointo() {
 java-pkg_dohtml() {
        debug-print-function ${FUNCNAME} $*
 
-       [[ ${#} -lt 1 ]] &&  die "At least one argument required for 
${FUNCNAME}"
+       [[ ${#} -lt 1 ]] && die "At least one argument required for ${FUNCNAME}"
 
-       # from /usr/lib/portage/bin/dohtml -h
-       #  -f   Set list of allowed extensionless file names.
-       dohtml -f package-list "$@"
+       # Do away with dohtml and rely on dodoc instead to do the deed.
+       docinto html
+       dodoc "$@"
 
-       # this probably shouldn't be here but it provides
+       # This probably shouldn't be here but it provides
        # a reasonable way to catch # docs for all of the
        # old ebuilds.
        java-pkg_recordjavadoc

Reply via email to