summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/elasticsearch-py')
-rw-r--r--dev-python/elasticsearch-py/elasticsearch-py-7.1.0.ebuild2
1 files changed, 1 insertions, 1 deletions
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 efdb3ea2b6d3..ee86457c79fd 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; \