Add debugging to bootstrap script
This commit is contained in:
parent
8140cb2d6b
commit
e74aa099bc
@ -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__':
|
||||
|
Loading…
Reference in New Issue
Block a user