mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
*/*: [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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user