*/*: [QA] Remove redundant || die guards

* 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>
This commit is contained in:
David Seifert
2019-12-11 13:32:00 +01:00
parent 7671b34fbc
commit 398a42634f
710 changed files with 1463 additions and 1545 deletions
@@ -46,7 +46,7 @@ multilib_src_compile() {
gnome2_src_compile
if multilib_is_native_abi && use doc; then
emake -C "docs/reference" all || die "emake doc failed"
emake -C "docs/reference" all
fi
}
@@ -54,7 +54,7 @@ multilib_src_install() {
gnome2_src_install
if use examples; then
emake -C "examples" distclean || die "examples clean up failed"
emake -C "examples" distclean
fi
}
@@ -69,6 +69,6 @@ multilib_src_install_all() {
find "${S}/examples" -name "Makefile*" -delete \
|| die "examples cleanup failed"
insinto "/usr/share/doc/${PF}"
doins -r examples || die "doins failed"
doins -r examples
fi
}
@@ -39,7 +39,7 @@ src_compile() {
if use doc; then
cd "${S}/docs/reference"
emake all || die "failed to build API docs"
emake all
fi
}