Elasticsearch startup script supports directories containing spaces

Closes #3712
This commit is contained in:
Alexander Reelsen 2013-09-17 08:14:23 +02:00
parent ae0489266e
commit e1cbbbaa60
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ if [ "x$ES_INCLUDE" = "x" ]; then
/usr/local/share/elasticsearch/elasticsearch.in.sh \
/opt/elasticsearch/elasticsearch.in.sh \
~/.elasticsearch.in.sh \
`dirname "$0"`/elasticsearch.in.sh; do
"`dirname "$0"`"/elasticsearch.in.sh; do
if [ -r "$include" ]; then
. "$include"
break