mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
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…
x
Reference in New Issue
Block a user