Skip to content

Commit

Permalink
Plugin Manager: Properly quote $JAVA in bin/plugin
Browse files Browse the repository at this point in the history
The all new Oracle Java 7 on OSX has a space in its path
resulting in bin/plugin failing to work

Closes #5765
  • Loading branch information
dieswaytoofast authored and spinscale committed Jul 18, 2014
1 parent edbe31d commit 1caa645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/plugin
Expand Up @@ -45,5 +45,5 @@ while [ $# -gt 0 ]; do
shift
done

exec $JAVA $JAVA_OPTS -Xmx64m -Xms16m -Delasticsearch -Des.path.home="$ES_HOME" $properties -cp "$ES_HOME/lib/*" org.elasticsearch.plugins.PluginManager $args
exec "$JAVA" $JAVA_OPTS -Xmx64m -Xms16m -Delasticsearch -Des.path.home="$ES_HOME" $properties -cp "$ES_HOME/lib/*" org.elasticsearch.plugins.PluginManager $args

0 comments on commit 1caa645

Please sign in to comment.