commit 266a52be97c3d15b1f250b06dd59ef048d78f1ee parent eb2e6105e477f232f775dd0c0e860b2df57a6a57 Author: ng0 <ng0@n0.is> Date: Fri, 4 Oct 2019 16:58:42 +0000 maybe fix Diffstat:
| M | configure.py | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git 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()