Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch startup script doesn't work from directory with spaces in path #3712

Closed
brooksrbrown opened this Issue Sep 16, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@brooksrbrown
Copy link

brooksrbrown commented Sep 16, 2013

  1. Unzip the elasticsearch archive into a directory containing spaces in the one of the path components, e.g., /Volumes/Storage/test stuff.
  2. Run /Volumes/Storage/test stuff/elasticsearch/elasticsearch-0.90.4/bin/elasticsearch.

It reports that ES_CLASSPATH isn't set.

The culprit is at line 78. Needs to be "dirname "$0""/elasticsearch.in.sh; do

Yes, the doubly nested double quotes work.

@spinscale

This comment has been minimized.

Copy link
Member

spinscale commented Sep 17, 2013

Thanks a lot for reporting and supplying the fix as well!

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.