summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-23 01:00:27 +0000
committerSam James <sam@gentoo.org>2022-03-23 01:00:27 +0000
commit2c39de081befb0aa4e6f16ddc9f8255938b4c813 (patch)
tree82bf617ee3f82aab1a055ebb15ac4719a8bd0b12
parentdev-lua/lualdap: add subslot dep on OpenLDAP (diff)
downloadgentoo-2c39de081befb0aa4e6f16ddc9f8255938b4c813.tar.gz
gentoo-2c39de081befb0aa4e6f16ddc9f8255938b4c813.tar.bz2
gentoo-2c39de081befb0aa4e6f16ddc9f8255938b4c813.zip
dev-lua/lualdap: fix definition of src_test/src_install
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-lua/lualdap/lualdap-1.3.0-r2.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-lua/lualdap/lualdap-1.3.0-r2.ebuild b/dev-lua/lualdap/lualdap-1.3.0-r2.ebuild
index bd92eaf88080..1abb207ea041 100644
--- a/dev-lua/lualdap/lualdap-1.3.0-r2.ebuild
+++ b/dev-lua/lualdap/lualdap-1.3.0-r2.ebuild
@@ -50,7 +50,7 @@ lua_src_compile() {
emake "${myemakeargs[@]}"
- popd
+ popd || die
}
src_compile() {
@@ -59,11 +59,11 @@ src_compile() {
lua_src_test() {
pushd "${BUILD_DIR}" || die
- LUA_CPATH="./src/?.so" ${ELUA} tests/test.lua
- popd
+ LUA_CPATH="./src/?.so" ${ELUA} tests/test.lua || die
+ popd || die
}
-src_install() {
+src_test() {
lua_foreach_impl lua_src_test
}
@@ -80,7 +80,7 @@ lua_src_install() {
emake "${myemakeargs[@]}" install
- popd
+ popd || die
}
src_install() {