Issue #499 - Ensure build directory exists when passed.

This commit is contained in:
Chris Routh 2025-11-06 12:19:28 -08:00
parent 57a88434e2
commit 6db73a0a83

View file

@ -801,6 +801,7 @@ def run(raw_args):
if known_args.build:
# use build dir argument if passed
temp_root_dir = Path(known_args.build)
temp_root_dir.mkdir(parents=True, exist_ok=True)
else:
# make new randomized temp dir
temp_root_dir = Path(tempfile.mkdtemp(dir=known_args.output, prefix=".tmp"))