From 5fe584472e2a312223335ac4b27d55259da9cfed Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Thu, 20 Jul 2017 16:02:21 +0900 Subject: [PATCH] Fix certgen script usage of ES_HOME This commit fixes an issue with the usage of the environment variable ES_HOME in the certgen script; the script was missing the use of $ to obtain the value of the environment variable ES_HOME. Relates elastic/x-pack-elasticsearch#2046 Original commit: elastic/x-pack-elasticsearch@63128db0ebce69a9efefcc2c0373b4840bca23c3 --- plugin/bin/x-pack/certgen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/bin/x-pack/certgen b/plugin/bin/x-pack/certgen index bb9b52a1c91..a05184a3223 100644 --- a/plugin/bin/x-pack/certgen +++ b/plugin/bin/x-pack/certgen @@ -24,7 +24,7 @@ ES_HOME=`dirname "$SCRIPT"`/../.. # make ELASTICSEARCH_HOME absolute ES_HOME=`cd "$ES_HOME"; pwd` -source "ES_HOME/bin/elasticsearch.in.sh" +source "$ES_HOME/bin/elasticsearch.in.sh" if [ -x "$JAVA_HOME/bin/java" ]; then JAVA="$JAVA_HOME/bin/java"