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