diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-04-22 08:04:58 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-04-22 08:55:51 +0200 |
commit | a57b315c4682e5aee1913ddc7b75aeac2203f3a7 (patch) | |
tree | d9e9ed3d2e74f020454b6cb4a9c702a9aae5c228 /eclass | |
parent | dev-ruby/simpleidn: enable ruby31 (diff) | |
download | gentoo-a57b315c4682e5aee1913ddc7b75aeac2203f3a7.tar.gz gentoo-a57b315c4682e5aee1913ddc7b75aeac2203f3a7.tar.bz2 gentoo-a57b315c4682e5aee1913ddc7b75aeac2203f3a7.zip |
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 <graaff@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ruby-fakegem.eclass | 9 |
1 files changed, 3 insertions, 6 deletions
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 ;; |