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
230 B
Batchfile
10 lines
230 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
cd /d "%~dp0\.."
|
|
for /f %%i in ('cd') do set RESULT=%%i
|
|
|
|
"%JAVACMD%" -cp "!RESULT!\tools\ingest-converter\build\libs\ingest-converter.jar;*" ^
|
|
org.logstash.ingest.Pipeline %*
|
|
|
|
endlocal
|