dev-python/elasticsearch-py: add missing die to 7.1.0
authorJoonas Niilola <juippis@gentoo.org>
Fri, 24 Jan 2020 06:38:38 +0000 (08:38 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Fri, 24 Jan 2020 06:54:34 +0000 (08:54 +0200)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-python/elasticsearch-py/elasticsearch-py-7.1.0.ebuild

index efdb3ea2b6d310600c8a6dc3abc60f38f0966a00..ee86457c79fdaee76ebd61673ab7e212e967deb2 100644 (file)
@@ -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; \