Elasticsearch startup script supports directories containing spaces
Closes #3712
This commit is contained in:
parent
ae0489266e
commit
e1cbbbaa60
|
@ -75,7 +75,7 @@ if [ "x$ES_INCLUDE" = "x" ]; then
|
||||||
/usr/local/share/elasticsearch/elasticsearch.in.sh \
|
/usr/local/share/elasticsearch/elasticsearch.in.sh \
|
||||||
/opt/elasticsearch/elasticsearch.in.sh \
|
/opt/elasticsearch/elasticsearch.in.sh \
|
||||||
~/.elasticsearch.in.sh \
|
~/.elasticsearch.in.sh \
|
||||||
`dirname "$0"`/elasticsearch.in.sh; do
|
"`dirname "$0"`"/elasticsearch.in.sh; do
|
||||||
if [ -r "$include" ]; then
|
if [ -r "$include" ]; then
|
||||||
. "$include"
|
. "$include"
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue