Add debugging to bootstrap script
This commit is contained in:
parent
8140cb2d6b
commit
e74aa099bc
@ -89,10 +89,14 @@ def main():
|
|||||||
|
|
||||||
with Chdir('..'):
|
with Chdir('..'):
|
||||||
if output_needs_cleaning():
|
if output_needs_cleaning():
|
||||||
|
print("Cleaning output directory...")
|
||||||
shutil.rmtree('OUTPUT')
|
shutil.rmtree('OUTPUT')
|
||||||
if not os.path.isdir('OUTPUT'):
|
if not os.path.isdir('OUTPUT'):
|
||||||
|
print("Creating output directory...")
|
||||||
os.mkdir('OUTPUT')
|
os.mkdir('OUTPUT')
|
||||||
|
print("Changing to output directory...")
|
||||||
with Chdir('OUTPUT'):
|
with Chdir('OUTPUT'):
|
||||||
|
print("Running configure.py...")
|
||||||
run_shell(config_argv, env = build_env)
|
run_shell(config_argv, env = build_env)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user