From 4b019687a25dd3890e4da29fe88d8af4f2b72e74 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Mon, 11 Jun 2018 19:23:22 +0300 Subject: [PATCH] Use quotes in the call invocation Adding quotes around call invocations as paths can contain spaces that otherwise would fail the command --- distribution/src/bin/elasticsearch-cli.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/src/bin/elasticsearch-cli.bat b/distribution/src/bin/elasticsearch-cli.bat index b668a7c06c272..e17ade3b74af1 100644 --- a/distribution/src/bin/elasticsearch-cli.bat +++ b/distribution/src/bin/elasticsearch-cli.bat @@ -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" ) )