Opened 11 years ago
#5987 new Bugs
Error in boost-build/jam_src/build.bat
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | script error | Cc: |
Description
in :Start if "_%1_" == "" (
call :Guess_Toolset if not errorlevel 1 goto Setup_Toolset
) else (
call :Test_Option "%1" if not errorlevel 1 ( <-- error here
call :Guess_Toolset if not errorlevel 1 goto Setup_Toolset
) else (
setlocal & endlocal set "BOOST_JAM_TOOLSET=%1" shift goto Setup_Toolset
)
)
is incorrect, will always ignore specified toolset, should be
if "_%1_" == "" (
call :Guess_Toolset if not errorlevel 1 goto Setup_Toolset
) else (
call :Test_Option "%1" if errorlevel 1 (
call :Guess_Toolset if not errorlevel 1 goto Setup_Toolset
) else (
setlocal & endlocal set "BOOST_JAM_TOOLSET=%1" shift goto Setup_Toolset
)
) which then allows
build mingw
to work correctly