Merge pull request #193 from doraskayo/create-tmpdir

Create tmpdir before bootstrap
This commit is contained in:
Andrius Štikonas 2022-09-10 15:28:14 +01:00 committed by GitHub
commit 6e4ad4c91d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -129,6 +129,9 @@ def main():
tmpdir=args.tmpdir, external_sources=args.external_sources,
sysb_dir=system_b.sys_dir, sysc_dir=system_c.sys_dir)
if args.tmpdir is not None:
os.makedirs(args.tmpdir, exist_ok=True)
bootstrap(args, system_a, system_b, system_c)
def bootstrap(args, system_a, system_b, system_c):