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-java/commons-lang
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-java/commons-lang')
-rw-r--r--dev-java/commons-lang/commons-lang-2.0-r3.ebuild2
-rw-r--r--dev-java/commons-lang/commons-lang-2.6-r1.ebuild4
2 files changed, 3 insertions, 3 deletions
diff --git a/dev-java/commons-lang/commons-lang-2.0-r3.ebuild b/dev-java/commons-lang/commons-lang-2.0-r3.ebuild
index be7a4b9bb238..6fe664f4a31a 100644
--- a/dev-java/commons-lang/commons-lang-2.0-r3.ebuild
+++ b/dev-java/commons-lang/commons-lang-2.0-r3.ebuild
@@ -26,7 +26,7 @@ java_prepare() {
src_install() {
java-pkg_newjar dist/${P}.jar ${PN}.jar
- dodoc RELEASE-NOTES.txt || die
+ dodoc RELEASE-NOTES.txt
java-pkg_dohtml DEVELOPERS-GUIDE.html PROPOSAL.html STATUS.html
use doc && java-pkg_dojavadoc dist/docs/api
use source && java-pkg_dosrc src/java/*
diff --git a/dev-java/commons-lang/commons-lang-2.6-r1.ebuild b/dev-java/commons-lang/commons-lang-2.6-r1.ebuild
index b108cd7918ee..0d01911f7fb3 100644
--- a/dev-java/commons-lang/commons-lang-2.6-r1.ebuild
+++ b/dev-java/commons-lang/commons-lang-2.6-r1.ebuild
@@ -28,8 +28,8 @@ JAVA_ANT_ENCODING="ISO-8859-1"
src_install() {
java-pkg_newjar "target/${P}.jar" "${PN}.jar"
- dodoc RELEASE-NOTES.txt NOTICE.txt || die
- dohtml *.html || die
+ dodoc RELEASE-NOTES.txt NOTICE.txt
+ dohtml *.html
use doc && java-pkg_dojavadoc target/apidocs
use source && java-pkg_dosrc src/main/java/*
}