mirror of
https://github.com/elastic/logstash.git
synced 2025-04-21 13:18:16 -04:00
Updates all Windows batch scripts used as CLI tools to quotes the %JAVACMD% to avoid path problems when the path contains spaces.
10 lines
226 B
Batchfile
10 lines
226 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
|