From db07e1adbb7f8758e1da04e8b48dd9587c2573ef Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Tue, 19 Apr 2022 15:25:53 +0200 Subject: 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. --- bin/just-mr.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/just-mr.py') 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: -- cgit v1.2.3