From 266a52be97c3d15b1f250b06dd59ef048d78f1ee Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 4 Oct 2019 16:58:42 +0000 Subject: maybe fix --- configure.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.py b/configure.py index 19e7145..0f12690 100644 --- a/configure.py +++ b/configure.py @@ -138,8 +138,11 @@ def _read_prefix(): yarnexe = str(_tool_yarn()) if 'DEBUG' in os.environ: logger.debug('%s', repr(myprefix)) - if os.path.isdir(myprefix) is True: - return [myprefix, yarnexe]; + # We should probably not check if the path exists + # because make will throw an error anyway or create + # it. + # if os.path.isdir(myprefix) is True: + return [myprefix, yarnexe]; def main(): mylist = _read_prefix() -- cgit v1.2.3