aboutsummaryrefslogtreecommitdiff
path: root/emconfigure
diff options
context:
space:
mode:
Diffstat (limited to 'emconfigure')
-rwxr-xr-xemconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/emconfigure b/emconfigure
index 51e57c64..30fc10ec 100755
--- a/emconfigure
+++ b/emconfigure
@@ -18,6 +18,10 @@ Relevant defines:
import os, sys
from tools import shared
+from subprocess import CalledProcessError
-shared.Building.configure(sys.argv[1:])
+try:
+ shared.Building.configure(sys.argv[1:])
+except CalledProcessError, e:
+ sys.exit( e.returncode )