diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-04-19 15:25:53 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-04-19 15:25:53 +0200 |
commit | db07e1adbb7f8758e1da04e8b48dd9587c2573ef (patch) | |
tree | c7e40d7da5698c4291087e6e3c46df288cc892fe /bin/just-mr.py | |
parent | 108220af1ac58be6cc80c80c70bc3f6823118a0a (diff) | |
download | justbuild-db07e1adbb7f8758e1da04e8b48dd9587c2573ef.tar.gz |
just-mr: Refer to ROOT via absolute path
... so accessing the CAS from a different cwd wont fail if
the local_build_root was provided as relative path.
Diffstat (limited to 'bin/just-mr.py')
-rwxr-xr-x | bin/just-mr.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/just-mr.py b/bin/just-mr.py index f010fec9..2c2a08b3 100755 --- a/bin/just-mr.py +++ b/bin/just-mr.py @@ -495,6 +495,7 @@ def main(): config = read_config(options.repository_config) global ROOT ROOT = options.local_build_root or os.path.join(Path.home(), ".cache/just") + ROOT = ROOT if os.path.isabs(ROOT) else os.path.abspath(ROOT) global GIT_CHECKOUT_LOCATIONS if options.checkout_location: with open(options.checkout_location) as f: |