diff --git a/src/engine/config_toolset.bat b/src/engine/config_toolset.bat index b0bdfbb6f..a941ad033 100644 --- a/src/engine/config_toolset.bat +++ b/src/engine/config_toolset.bat @@ -184,7 +184,7 @@ set "_known_=1" :Skip_VC141 if NOT "_%BOOST_JAM_TOOLSET%_" == "_borland_" goto Skip_BORLAND if "_%BOOST_JAM_TOOLSET_ROOT%_" == "__" ( - call :Test_Path bcc32.exe ) + call guess_toolset.bat test_path bcc32.exe ) if "_%BOOST_JAM_TOOLSET_ROOT%_" == "__" ( if not errorlevel 1 ( set "BOOST_JAM_TOOLSET_ROOT=%FOUND_PATH%..\" diff --git a/src/engine/guess_toolset.bat b/src/engine/guess_toolset.bat index 9effe683b..00ce3097d 100644 --- a/src/engine/guess_toolset.bat +++ b/src/engine/guess_toolset.bat @@ -5,6 +5,9 @@ REM ~ Distributed under the Boost Software License, Version 1.0. REM ~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) if "_%1_" == "_yacc_" goto Guess_Yacc +if "_%1_" == "_test_path_" ( + shift + goto Test_Path) goto Guess