mirror of
https://github.com/elastic/logstash.git
synced 2025-04-22 13:47:21 -04:00
Updates all Windows batch scripts used as CLI tools to quotes the %JAVACMD% to avoid path problems when the path contains spaces.
(cherry picked from commit a8bd90c22d
)
10 lines
228 B
Batchfile
10 lines
228 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
cd /d "%~dp0.."
|
|
for /f %%i in ('cd') do set RESULT=%%i
|
|
|
|
"%JAVACMD%" -cp "!!RESULT!!\tools\benchmark-cli\build\libs\benchmark-cli.jar;*" ^
|
|
org.logstash.benchmark.cli.Main %*
|
|
|
|
endlocal
|