bootstrap.py: fix build-failure message
This commit is contained in:
parent
a00e24d76a
commit
62edacf738
1 changed files with 3 additions and 1 deletions
|
@ -935,6 +935,7 @@ def main():
|
||||||
)
|
)
|
||||||
|
|
||||||
exit_code = 0
|
exit_code = 0
|
||||||
|
success_word = "successfully"
|
||||||
try:
|
try:
|
||||||
bootstrap(args)
|
bootstrap(args)
|
||||||
except (SystemExit, KeyboardInterrupt) as error:
|
except (SystemExit, KeyboardInterrupt) as error:
|
||||||
|
@ -943,9 +944,10 @@ def main():
|
||||||
else:
|
else:
|
||||||
exit_code = 1
|
exit_code = 1
|
||||||
print(error)
|
print(error)
|
||||||
|
success_word = "unsuccessfully"
|
||||||
|
|
||||||
if not help_triggered:
|
if not help_triggered:
|
||||||
print("Build completed successfully in", format_build_time(time() - start_time))
|
print("Build completed", success_word, "in", format_build_time(time() - start_time))
|
||||||
sys.exit(exit_code)
|
sys.exit(exit_code)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue