diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2022-04-21 14:43:02 +0200 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2022-04-21 14:43:02 +0200 |
commit | 3ea705c630b438fd6513fd6190190a559060f341 (patch) | |
tree | ec0e3fb8c2a2ee157a3c6f480c7edacd8b9174c2 /bin/just-mr.py | |
parent | 9077143d0585ad55f336751a5a5b92d1082438e6 (diff) | |
download | justbuild-3ea705c630b438fd6513fd6190190a559060f341.tar.gz |
add compatibility with original remote build protocol
Diffstat (limited to 'bin/just-mr.py')
-rwxr-xr-x | bin/just-mr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/just-mr.py b/bin/just-mr.py index 2c2a08b3..7b68eb19 100755 --- a/bin/just-mr.py +++ b/bin/just-mr.py @@ -188,7 +188,7 @@ def git_hash(content): def add_to_cas(data): if isinstance(data, str): data = data.encode('utf-8') - cas_root = os.path.join(ROOT,"casf") + cas_root = os.path.join(ROOT,"protocol-dependent/git-sha1/casf") basename = git_hash(data) target = os.path.join(cas_root, basename) tempname = os.path.join(cas_root, "%s.%d" % (basename, os.getpid())) @@ -205,7 +205,7 @@ def add_to_cas(data): return target def cas_path(h): - return os.path.join(ROOT, "casf", h) + return os.path.join(ROOT, "protocol-dependent/git-sha1/casf", h) def is_in_cas(h): return os.path.exists(cas_path(h)) |