From 398a42634f34afa1979d88ae1d8b38194e911c2d Mon Sep 17 00:00:00 2001 From: David Seifert <soap@gentoo.org> 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 <ulm@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org> --- sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild | 2 +- sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild | 2 +- sys-apps/ipmiutil/ipmiutil-3.1.3.ebuild | 2 +- sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys-apps/ipmiutil') diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild index e157b5eb274c..7f746df64c56 100644 --- a/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild +++ b/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild @@ -39,7 +39,7 @@ src_compile() { # and it doesn't even work. # Please check on each bump if this workaround is still required. pushd lib/lanplus &>/dev/null || die - emake || die "emake lanplus failed" + emake cp libipmi_lanplus.a .. || die popd &>/dev/null || die diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild index ac6d2f9004f7..670520a6b9cd 100644 --- a/sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild +++ b/sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild @@ -40,7 +40,7 @@ src_compile() { # and it doesn't even work. # Please check on each bump if this workaround is still required. pushd lib/lanplus &>/dev/null || die - emake || die "emake lanplus failed" + emake cp libipmi_lanplus.a .. || die popd &>/dev/null || die diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.3.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.3.ebuild index 426199d3e70b..e05227de53b1 100644 --- a/sys-apps/ipmiutil/ipmiutil-3.1.3.ebuild +++ b/sys-apps/ipmiutil/ipmiutil-3.1.3.ebuild @@ -40,7 +40,7 @@ src_compile() { # and it doesn't even work. # Please check on each bump if this workaround is still required. pushd lib/lanplus &>/dev/null || die - emake || die "emake lanplus failed" + emake cp libipmi_lanplus.a .. || die popd &>/dev/null || die diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild index 4eefd0cd1de8..a8fbfd6eff87 100644 --- a/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild +++ b/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild @@ -43,7 +43,7 @@ src_compile() { # and it doesn't even work. # Please check on each bump if this workaround is still required. pushd lib/lanplus &>/dev/null || die - emake || die "emake lanplus failed" + emake cp libipmi_lanplus.a .. || die popd &>/dev/null || die -- cgit v1.2.3-65-gdbad