Skip to content

Commit

Permalink
Batch: Update Env Variables, Exit with Error Code
Browse files Browse the repository at this point in the history
  • Loading branch information
graphemecluster committed Mar 31, 2024
1 parent f0f1ab2 commit 035f5c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ echo.

if not defined BJAM_TOOLSET (
rem the number actually means platform toolset, not %VisualStudioVersion%
set BJAM_TOOLSET=msvc-14.2
set BJAM_TOOLSET=msvc-14.3
)

if not defined PLATFORM_TOOLSET (
set PLATFORM_TOOLSET=v142
set PLATFORM_TOOLSET=v143
)

if defined DEVTOOLS_PATH set PATH=%DEVTOOLS_PATH%%PATH%
Expand Down Expand Up @@ -223,7 +223,9 @@ if errorlevel 1 goto error
exit /b

:error
set exitcode=%errorlevel%
echo error building weasel...

:end
cd %WEASEL_ROOT%
exit /b %exitcode%

0 comments on commit 035f5c9

Please sign in to comment.