mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
update plugin manager script for setup.bat changes
This commit is contained in:
parent
1ee3b5c5d4
commit
d9ba3463b3
1 changed files with 10 additions and 11 deletions
|
@ -1,15 +1,14 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
setlocal enabledelayedexpansion
|
||||||
|
|
||||||
SETLOCAL
|
call "%~dp0setup.bat" || exit /b 1
|
||||||
|
if errorlevel 1 (
|
||||||
set SCRIPT_DIR=%~dp0
|
if not defined nopauseonerror (
|
||||||
CALL "%SCRIPT_DIR%\setup.bat"
|
pause
|
||||||
|
)
|
||||||
:EXEC
|
exit /B %ERRORLEVEL%
|
||||||
if "%VENDORED_JRUBY%" == "" (
|
|
||||||
%RUBYCMD% "%LS_HOME%\lib\pluginmanager\main.rb" %*
|
|
||||||
) else (
|
|
||||||
%JRUBY_BIN% %jruby_opts% "%LS_HOME%\lib\pluginmanager\main.rb" %*
|
|
||||||
)
|
)
|
||||||
|
|
||||||
ENDLOCAL
|
%JRUBY_BIN% "%LS_HOME%\lib\pluginmanager\main.rb" %*
|
||||||
|
|
||||||
|
endlocal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue