Fix waf.bat ERRORLEVEL to return actual exit code of waf

This commit is contained in:
Alibek Omarov 2019-05-23 19:37:54 +00:00
parent b1ac2bc686
commit 4e307d3b50
1 changed files with 3 additions and 2 deletions

View File

@ -93,5 +93,6 @@ goto running
@echo Using %PYTHON%
"%PYTHON%" -x "%~dp0waf" %* & Endlocal & exit /b %ERRORLEVEL%
"%PYTHON%" -x "%~dp0waf" %*
Endlocal
exit /b %ERRORLEVEL%