Add debugging to bootstrap script

This commit is contained in:
Nick Hastings 2023-11-20 19:40:09 -05:00
parent 8140cb2d6b
commit e74aa099bc

View File

@ -89,10 +89,14 @@ def main():
with Chdir('..'):
if output_needs_cleaning():
print("Cleaning output directory...")
shutil.rmtree('OUTPUT')
if not os.path.isdir('OUTPUT'):
print("Creating output directory...")
os.mkdir('OUTPUT')
print("Changing to output directory...")
with Chdir('OUTPUT'):
print("Running configure.py...")
run_shell(config_argv, env = build_env)
if __name__ == '__main__':