From 3ea705c630b438fd6513fd6190190a559060f341 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Thu, 21 Apr 2022 14:43:02 +0200 Subject: add compatibility with original remote build protocol --- bin/just-mr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/just-mr.py') 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)) -- cgit v1.2.3