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 --- sci-chemistry/surf/surf-1.0.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sci-chemistry/surf') diff --git a/sci-chemistry/surf/surf-1.0.ebuild b/sci-chemistry/surf/surf-1.0.ebuild index 138830fe777c..5b6ff83975fd 100644 --- a/sci-chemistry/surf/surf-1.0.ebuild +++ b/sci-chemistry/surf/surf-1.0.ebuild @@ -33,11 +33,10 @@ src_compile() { && emake \ CC="$(tc-getCC)" \ OPT_CFLAGS="${CFLAGS} \$(INCLUDE)" \ - CFLAGS="${CFLAGS} \$(INCLUDE)" \ - || die + CFLAGS="${CFLAGS} \$(INCLUDE)" } src_install() { - dobin ${PN} || die - dodoc README || die + dobin ${PN} + dodoc README } -- cgit v1.2.3-65-gdbad