diff options
author | David Seifert <soap@gentoo.org> | 2019-12-11 13:32:00 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-12-11 13:32:00 +0100 |
commit | 398a42634f34afa1979d88ae1d8b38194e911c2d (patch) | |
tree | d6a45bdf7b35b71c192602a46e8d98d12a88cb02 /dev-lua | |
parent | dev-ros/geometric_shapes: Remove old (diff) | |
download | gentoo-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-lua')
-rw-r--r-- | dev-lua/lua-openssl/lua-openssl-0.7.7_p0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-lua/luaevent/luaevent-0.4.4.ebuild | 2 | ||||
-rw-r--r-- | dev-lua/luaevent/luaevent-0.4.6.ebuild | 2 | ||||
-rw-r--r-- | dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild | 6 | ||||
-rw-r--r-- | dev-lua/luarocks/luarocks-2.2.0.ebuild | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/dev-lua/lua-openssl/lua-openssl-0.7.7_p0-r1.ebuild b/dev-lua/lua-openssl/lua-openssl-0.7.7_p0-r1.ebuild index 2f9abd5424dd..2cb97de1988c 100644 --- a/dev-lua/lua-openssl/lua-openssl-0.7.7_p0-r1.ebuild +++ b/dev-lua/lua-openssl/lua-openssl-0.7.7_p0-r1.ebuild @@ -57,7 +57,7 @@ src_compile() { } src_test() { - emake CC="$(tc-getCC)" test || die "tests failed" + emake CC="$(tc-getCC)" test } src_install() { diff --git a/dev-lua/luaevent/luaevent-0.4.4.ebuild b/dev-lua/luaevent/luaevent-0.4.4.ebuild index 57fc5cf893f5..fc40540709ab 100644 --- a/dev-lua/luaevent/luaevent-0.4.4.ebuild +++ b/dev-lua/luaevent/luaevent-0.4.4.ebuild @@ -35,5 +35,5 @@ src_prepare() { } src_install() { - emake DESTDIR="${D}" install || die "Install failed" + emake DESTDIR="${D}" install } diff --git a/dev-lua/luaevent/luaevent-0.4.6.ebuild b/dev-lua/luaevent/luaevent-0.4.6.ebuild index 84700e9d48e4..e814d6b25c58 100644 --- a/dev-lua/luaevent/luaevent-0.4.6.ebuild +++ b/dev-lua/luaevent/luaevent-0.4.6.ebuild @@ -36,5 +36,5 @@ src_prepare() { } src_install() { - emake DESTDIR="${D}" install || die "Install failed" + emake DESTDIR="${D}" install } diff --git a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild index 2b6daaa15806..657786056c85 100644 --- a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild +++ b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild @@ -27,7 +27,7 @@ src_prepare() { } src_install() { - emake PREFIX="${ED}usr" install || die - dodoc README || die - dohtml doc/us/* || die + emake PREFIX="${ED}usr" install + dodoc README + dohtml doc/us/* } diff --git a/dev-lua/luarocks/luarocks-2.2.0.ebuild b/dev-lua/luarocks/luarocks-2.2.0.ebuild index a64514f182e2..5a450c989c0d 100644 --- a/dev-lua/luarocks/luarocks-2.2.0.ebuild +++ b/dev-lua/luarocks/luarocks-2.2.0.ebuild @@ -39,12 +39,12 @@ src_configure() { src_compile() { # -j1 b/c make tries to delete files it has yet to create (bug #402005) - emake DESTDIR="${D}" -j1 || die "make failed" + emake DESTDIR="${D}" -j1 } src_install() { # -j1 b/c otherwise it fails to find src/bin/luarocks - emake DESTDIR="${D}" -j1 install || die "einstall" + emake DESTDIR="${D}" -j1 install } pkg_preinst() { |