diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-12-17 16:36:28 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-01-10 12:47:02 +0100 |
commit | 7a542b22e272f6444ddf8c811e8edfa1458e55c9 (patch) | |
tree | e48c3a83d3e33dbd3bfff001bedc1d3c370f028b /bin/just-lock.py | |
parent | 36262967d1cd2a154ec74c56ee3bc6126aa674c2 (diff) | |
download | justbuild-7a542b22e272f6444ddf8c811e8edfa1458e55c9.tar.gz |
just-lock: Fix 'repositories' field not updated in import loop
Diffstat (limited to 'bin/just-lock.py')
-rwxr-xr-x | bin/just-lock.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/just-lock.py b/bin/just-lock.py index 93e9e6a4..1db21f68 100755 --- a/bin/just-lock.py +++ b/bin/just-lock.py @@ -947,9 +947,11 @@ def lock_config(input_file: str) -> Json: (json.dumps(source, indent=2), )) if source == "git": - core_config["repositories"] = import_from_git(repositories, entry) + core_config["repositories"] = import_from_git( + core_config["repositories"], entry) elif source == "file": - core_config["repositories"] = import_from_file(repositories, entry) + core_config["repositories"] = import_from_file( + core_config["repositories"], entry) elif source == "archive": # TODO(psarbu): Implement source "archive" warn("Import from source \"archive\" not yet implemented!") |