commit:     ed64ec25a33b63c3d7a21c2fc121aeca31b32bf3
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 24 06:38:38 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jan 24 06:54:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed64ec25

dev-python/elasticsearch-py: add missing die to 7.1.0

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-python/elasticsearch-py/elasticsearch-py-7.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/elasticsearch-py/elasticsearch-py-7.1.0.ebuild 
b/dev-python/elasticsearch-py/elasticsearch-py-7.1.0.ebuild
index efdb3ea2b6d..ee86457c79f 100644
--- a/dev-python/elasticsearch-py/elasticsearch-py-7.1.0.ebuild
+++ b/dev-python/elasticsearch-py/elasticsearch-py-7.1.0.ebuild
@@ -55,7 +55,7 @@ python_test() {
        local es_instance="gentoo-es-py-test"
        local es_log="${es}/logs/${es_instance}.log"
        local pid="${es}/elasticsearch.pid"
-       export JAVA_HOME=$(java-config -g JAVA_HOME)
+       export JAVA_HOME=$(java-config -g JAVA_HOME || die)
 
        # run Elasticsearch instance on custom port
        sed -i "s/#http.port: 9200/http.port: ${es_port}/g; \

Reply via email to