mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07: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:
@@ -40,18 +40,18 @@ src_compile() {
|
||||
# Python plugin support is of limited use (GIL gets in the way). If it's ever requested or needed, it should be a
|
||||
# separate python-single-r1 media-plugins/gst-plugins-python package that only builds the plugin directory.
|
||||
compile_gst() {
|
||||
emake -C common || die "emake common failed"
|
||||
emake -C gi || die "emake gi failed"
|
||||
emake -C testsuite || die "emake testsuite failed"
|
||||
emake -C common
|
||||
emake -C gi
|
||||
emake -C testsuite
|
||||
}
|
||||
python_foreach_impl run_in_build_dir compile_gst
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install_gst() {
|
||||
emake DESTDIR="${D}" install -C common || die "emake install common failed"
|
||||
emake DESTDIR="${D}" install -C gi || die "emake install gi failed"
|
||||
emake DESTDIR="${D}" install -C testsuite || die "emake install testsuite failed"
|
||||
emake DESTDIR="${D}" install -C common
|
||||
emake DESTDIR="${D}" install -C gi
|
||||
emake DESTDIR="${D}" install -C testsuite
|
||||
}
|
||||
python_foreach_impl run_in_build_dir install_gst
|
||||
prune_libtool_files --modules
|
||||
@@ -60,7 +60,7 @@ src_install() {
|
||||
|
||||
src_test() {
|
||||
test_gst() {
|
||||
emake check -C testsuite || die "emake check failed"
|
||||
emake check -C testsuite
|
||||
}
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user