diff --git a/bin/plugin b/bin/plugin index 573ea23aafd..69192a9e6d3 100644 --- a/bin/plugin +++ b/bin/plugin @@ -28,4 +28,4 @@ else JAVA=`which java` fi -exec $JAVA -Delasticsearch -Des.path.home="$ES_HOME" -cp $ES_HOME/lib/* org.elasticsearch.plugins.PluginManager $* +exec $JAVA -Delasticsearch -Des.path.home="$ES_HOME" -cp "$ES_HOME/lib/*" org.elasticsearch.plugins.PluginManager $*