Skip to content

Commit

Permalink
Use quotes in the call invocation (#31249)
Browse files Browse the repository at this point in the history
Adding quotes around call invocation as paths can contain spaces that
otherwise would cause the command to fail
  • Loading branch information
costin committed Jun 13, 2018
1 parent d72a6bd commit 2b8f252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/src/bin/elasticsearch-cli.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ call "%~dp0elasticsearch-env.bat" || exit /b 1

if defined ES_ADDITIONAL_SOURCES (
for %%a in ("%ES_ADDITIONAL_SOURCES:;=","%") do (
call %~dp0%%a
call "%~dp0%%a"
)
)

Expand Down

0 comments on commit 2b8f252

Please sign in to comment.