From 398a42634f34afa1979d88ae1d8b38194e911c2d Mon Sep 17 00:00:00 2001 From: David Seifert Date: Wed, 11 Dec 2019 13:32:00 +0100 Subject: */*: [QA] Remove redundant `|| die` guards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Since all ebuilds in the tree are EAPI>=4, `|| die` on builtin commands is redundant and dead code. Closes: https://github.com/gentoo/gentoo/pull/13940 Reviewed-by: Ulrich Müller Reviewed-by: Michał Górny Reviewed-by: Andreas K. Hüttel Signed-off-by: David Seifert --- dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild | 4 ++-- dev-libs/pcc-libs/pcc-libs-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'dev-libs/pcc-libs') diff --git a/dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild b/dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild index a045911ed6cf..1c1352594b89 100644 --- a/dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild +++ b/dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild @@ -20,9 +20,9 @@ S=${WORKDIR}/${PN}-${PVR/*_pre/}/ src_compile() { # not parallel-safe yet - emake -j1 || die "emake failed" + emake -j1 } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + emake DESTDIR="${D}" install } diff --git a/dev-libs/pcc-libs/pcc-libs-9999.ebuild b/dev-libs/pcc-libs/pcc-libs-9999.ebuild index ce43fb4adbd4..d15e96041f3d 100644 --- a/dev-libs/pcc-libs/pcc-libs-9999.ebuild +++ b/dev-libs/pcc-libs/pcc-libs-9999.ebuild @@ -27,9 +27,9 @@ RDEPEND="${DEPEND}" src_compile() { # not parallel-safe yet - emake -j1 || die "emake failed" + emake -j1 } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + emake DESTDIR="${D}" install } -- cgit v1.2.3-65-gdbad