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@63128db0eb
This commit is contained in:
parent
6552c9a5f7
commit
5fe584472e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue