summaryrefslogtreecommitdiff
path: root/bin/just-mr.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/just-mr.py')
-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 48b3ae92..491c100c 100755
--- a/bin/just-mr.py
+++ b/bin/just-mr.py
@@ -97,7 +97,7 @@ def read_config(configfile):
def git_root(*, upstream):
if upstream in GIT_CHECKOUT_LOCATIONS:
return GIT_CHECKOUT_LOCATIONS[upstream]
- elif upstream and os.path.isabs(upstream):
+ elif upstream and os.path.isabs(upstream) and os.path.isdir(upstream):
return upstream
else:
return os.path.join(ROOT, "git")