2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00

Minor change to hopefully cover more NT shells.

[SVN r18068]
This commit is contained in:
Rene Rivera
2003-03-24 00:56:58 +00:00
parent ebfc61b92f
commit f063766d8e

View File

@@ -134,22 +134,26 @@ goto :eof
set BOOST_JAM_TOOLSET=
REM If no arguments guess the toolset;
REM or if first argument is an option guess the toolser;
REM or if first argument is an option guess the toolset;
REM otherwise the argument is the toolset to use.
if "_%1_" == "__" (
call :Guess_Toolset
if not errorlevel 1 goto Setup_Toolset
) else (
call :Test_Option %1
if not errorlevel 1 (
call :Guess_Toolset
if not errorlevel 1 goto Setup_Toolset
) else (
setlocal & endlocal
set BOOST_JAM_TOOLSET=%1
shift
goto Setup_Toolset
)
)
if errorlevel 1 goto Finish
:Setup_Toolset
REM Setup the toolset command and options. This bit of code
REM needs to be flexible enough to handle both when
REM the toolset was guessed at and found, or when the toolset