commit:     008c98f7c3f94865d361f785f195b61c518a19c6
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 19:41:40 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 19:54:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=008c98f7

ruby-ng.eclass: replace ebegin with einfo in _ruby_invoke_environment

Calling ebegin here makes no sense because it is likely that the called
function will also generate output. This will lead to the "[ ok ]"
potentially appearing many lines later.

It also leads to nested ebegin calls, which make no sense for the same
reason.

Closes: https://bugs.gentoo.org/839585
Closes: https://bugs.gentoo.org/839588
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 eclass/ruby-ng.eclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index f0d6c4f6f6c4..c43d5b4d9826 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -410,9 +410,8 @@ _ruby_invoke_environment() {
                pushd "${WORKDIR}" &>/dev/null || die
        fi
 
-       ebegin "Running ${_PHASE:-${EBUILD_PHASE}} phase for $environment"
+       einfo "Running ${_PHASE:-${EBUILD_PHASE}} phase for $environment"
        "$@"
-       eend $?
        popd &>/dev/null || die
 
        S=${old_S}

Reply via email to