mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 12:42:11 +00:00
Fix path to portable install style bootstrap.
This commit is contained in:
@@ -183,8 +183,11 @@ bool b2::startup::bootstrap(FRAME *frame)
|
||||
// Check relative to the executable for portable install location.
|
||||
if (b2_file_path.empty())
|
||||
{
|
||||
if (b2::filesys::is_file(b2_exe_path + "/kernel/" + boost_build_jam))
|
||||
b2_file_path = b2_exe_path + "/kernel/" + boost_build_jam;
|
||||
const std::string path{
|
||||
b2::paths::normalize(
|
||||
b2_exe_path + "/../.b2/kernel/" + boost_build_jam)};
|
||||
if (b2::filesys::is_file(path))
|
||||
b2_file_path = path;
|
||||
}
|
||||
|
||||
// Check relative to the executable for portable install location.
|
||||
|
||||
Reference in New Issue
Block a user