summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-10-21 13:33:48 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-10-21 13:33:48 +0200
commit7267a4ab2bb3289a0fea0c7f14520c4d67fa194d (patch)
tree1a87c72bc26f97e41ad01c1d664492b1b79e61e9 /bin
parent4903a08b097d71e850c264b0402916ab749fb0ae (diff)
downloadjustbuild-7267a4ab2bb3289a0fea0c7f14520c4d67fa194d.tar.gz
just-mr: Fix use of wrong file path for checkout locations
Diffstat (limited to 'bin')
-rwxr-xr-xbin/just-mr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/just-mr.py b/bin/just-mr.py
index 1599826c..c641426c 100755
--- a/bin/just-mr.py
+++ b/bin/just-mr.py
@@ -1035,7 +1035,7 @@ def main():
GIT_CHECKOUT_LOCATIONS_FILE = os.path.abspath(options.checkout_location)
if GIT_CHECKOUT_LOCATIONS_FILE:
- with open(options.checkout_location) as f:
+ with open(GIT_CHECKOUT_LOCATIONS_FILE) as f:
global GIT_CHECKOUT_LOCATIONS
GIT_CHECKOUT_LOCATIONS = json.load(f).get("checkouts",
{}).get("git", {})