From a57b315c4682e5aee1913ddc7b75aeac2203f3a7 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 22 Apr 2022 08:04:58 +0200 Subject: eclass/ruby-fakegem.eclass: avoid nested ebegin calls The phases in ruby-ng.eclass already use ebegin/eend to wrap each phase, so use einfo here to avoid nested calls. Signed-off-by: Hans de Graaff --- eclass/ruby-fakegem.eclass | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'eclass') diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index 690709f20752..41dbb1e16340 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass @@ -501,20 +501,17 @@ all_ruby_unpack() { # one .gem file, since we won't support that at all. [[ -d "${S}" ]] && die "Unable to unpack ${archive}, ${S} exists" - ebegin "Unpacking .gem file..." + einfo "Unpacking .gem file..." tar -mxf "${DISTDIR}"/${archive} || die - eend $? - ebegin "Uncompressing metadata" + einfo "Uncompressing metadata" gunzip metadata.gz || die - eend $? mkdir "${S}" pushd "${S}" &>/dev/null || die - ebegin "Unpacking data.tar.gz" + einfo "Unpacking data.tar.gz" tar -mxf "${my_WORKDIR}"/data.tar.gz || die - eend $? popd &>/dev/null || die ;; -- cgit v1.2.3-65-gdbad