From 088e34bd419efc3a243f0e5b317f4e11f9b2fbae Mon Sep 17 00:00:00 2001 From: jaimergp Date: Fri, 8 Nov 2024 14:26:36 +0100 Subject: [PATCH] Ensure output_dir always exists --- constructor/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/constructor/main.py b/constructor/main.py index 2f724bafd..0df347051 100644 --- a/constructor/main.py +++ b/constructor/main.py @@ -241,6 +241,7 @@ def main_build(dir_path, output_dir='.', platform=cc_platform, # '_dists': List[Dist] # '_urls': List[Tuple[url, md5]] + os.makedirs(output_dir, exist_ok=True) info_dicts = [] for itype in itypes: if itype == 'sh':