diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-02-11 08:52:48 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-02-11 16:32:15 +0100 |
commit | 11279f7e7a808d5440ebfeaa734b892d202094e0 (patch) | |
tree | 1b1a61165423a40953835f51df6dbdb9aec29af2 /src/other_tools/just_mr/main.cpp | |
parent | ecf06437292740589533d87d527efd1020d4fca7 (diff) | |
download | justbuild-11279f7e7a808d5440ebfeaa734b892d202094e0.tar.gz |
checkout locations: support extra environment variables to inherit
Diffstat (limited to 'src/other_tools/just_mr/main.cpp')
-rw-r--r-- | src/other_tools/just_mr/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/main.cpp b/src/other_tools/just_mr/main.cpp index d65cbb50..ef91acc3 100644 --- a/src/other_tools/just_mr/main.cpp +++ b/src/other_tools/just_mr/main.cpp @@ -315,6 +315,9 @@ auto main(int argc, char* argv[]) -> int { arguments.common.alternative_mirrors->preferred_hostnames = checkout_locations_json.value("preferred hostnames", nlohmann::json::array()); + arguments.common.alternative_mirrors->extra_inherit_env = + checkout_locations_json.value("extra inherit env", + nlohmann::json::array()); } catch (std::exception const& e) { Logger::Log( LogLevel::Error, |