update plugin manager script for setup.bat changes

This commit is contained in:
Colin Surprenant 2017-09-15 17:57:46 -04:00
parent 3f6b3a9519
commit 78317623b4

View file

@ -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