commit:     a6187bda6cad3da66cca48e8408134f909b56f39
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 14:08:29 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 18:17:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6187bda

java-utils-2.eclass: remove ebegin calls that lack eend calls

Instead, echo the command we are about to run.

Closes: https://bugs.gentoo.org/838475
Closes: https://bugs.gentoo.org/838478
Closes: https://bugs.gentoo.org/838481
Closes: https://bugs.gentoo.org/838487
Closes: https://bugs.gentoo.org/838490
Closes: https://bugs.gentoo.org/838493
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

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

diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 11798908daef..2a649942550c 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -2099,8 +2099,9 @@ ejavac() {
                einfo "${compiler_executable} ${javac_args} ${@}"
        fi
 
-       ebegin "Compiling"
-       ${compiler_executable} ${javac_args} "${@}" || die "ejavac failed"
+       local args=( ${compiler_executable} ${javac_args} "${@}" )
+       echo "${args[@]}" >&2
+       "${args[@]}" || die "ejavac failed"
 }
 
 # @FUNCTION: ejavadoc
@@ -2125,8 +2126,9 @@ ejavadoc() {
                einfo "javadoc ${javadoc_args} ${@}"
        fi
 
-       ebegin "Generating JavaDoc"
-       javadoc ${javadoc_args} "${@}" || die "ejavadoc failed"
+       local args=( javadoc ${javadoc_args} "${@}" )
+       echo "${args[@]}" >&2
+       "${args[@]}" || die "ejavadoc failed"
 }
 
 # @FUNCTION: java-pkg_filter-compiler

Reply via email to