summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-11 13:32:00 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-11 13:32:00 +0100
commit398a42634f34afa1979d88ae1d8b38194e911c2d (patch)
treed6a45bdf7b35b71c192602a46e8d98d12a88cb02 /dev-cpp
parentdev-ros/geometric_shapes: Remove old (diff)
downloadgentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.tar.gz
gentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.tar.bz2
gentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.zip
*/*: [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>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libglademm/libglademm-2.6.7-r2.ebuild6
-rw-r--r--dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.26.0-r1.ebuild2
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-cpp/libglademm/libglademm-2.6.7-r2.ebuild b/dev-cpp/libglademm/libglademm-2.6.7-r2.ebuild
index 924487e145d2..e1efe0c66b0d 100644
--- a/dev-cpp/libglademm/libglademm-2.6.7-r2.ebuild
+++ b/dev-cpp/libglademm/libglademm-2.6.7-r2.ebuild
@@ -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
}
diff --git a/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.26.0-r1.ebuild b/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.26.0-r1.ebuild
index 5fa5463f6bdc..8d23e443e853 100644
--- a/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.26.0-r1.ebuild
+++ b/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.26.0-r1.ebuild
@@ -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
}