From 13b8aff3ca7d52db40cf2ac48194b0b3ef67e664 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Fri, 28 Sep 2012 10:05:34 -0700 Subject: [PATCH] bootstrap: fail more gracefully if gcc isn't available --- bootstrap.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bootstrap.py b/bootstrap.py index 7dfc543..291317f 100755 --- a/bootstrap.py +++ b/bootstrap.py @@ -108,7 +108,11 @@ else: if options.verbose: print(' '.join(args)) -run(args) +try: + run(args) +except: + print 'Failure running:', args + raise verbose = [] if options.verbose: -- 2.7.4