mirror of https://github.com/acidanthera/audk.git
edksetup.bat: if toolsetup.bat fails, just exit
If toolsetup.bat fails (i.e. exits with a non-zero %ERRORLEVEL%), don't try and carry on but just quit. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
parent
11ec5161fa
commit
e6de6052a0
|
@ -86,6 +86,7 @@ if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH%
|
|||
:checkBaseTools
|
||||
IF NOT EXIST "%EDK_TOOLS_PATH%\toolsetup.bat" goto BadBaseTools
|
||||
call %EDK_TOOLS_PATH%\toolsetup.bat %*
|
||||
if %ERRORLEVEL% NEQ 0 goto end
|
||||
if /I "%1"=="Reconfig" shift
|
||||
goto check_NASM
|
||||
goto check_cygwin
|
||||
|
|
Loading…
Reference in New Issue