From 4ff5892c6de229d8fa1732a5a16930847fc9328c Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Thu, 6 May 2021 20:53:59 +0200 Subject: [PATCH] Ensure build directory exists --- build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/build.py b/build.py index 890f654..cb374e7 100755 --- a/build.py +++ b/build.py @@ -112,6 +112,7 @@ def run_stage(stage: Path, environment, build_dir): print("SR Image Builder") print(f"Build directory: {args.build_dir}") + Path(args.build_dir).mkdir(parents=True, exist_ok=True) stages = determine_stage_list()