summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven R. Loomis <srl@icu-project.org>2014-12-10 09:04:33 -0800
committerJulien Gilli <julien.gilli@joyent.com>2014-12-15 13:55:11 -0800
commit69b122a6422e3be0417ba3ccf62f3ba914baff91 (patch)
treef5bf95c364728e05d4be61f7724791f50541a0af
parent0603c8345b7c40f9723277d5ae1f44041627dbab (diff)
downloadnode-69b122a6422e3be0417ba3ccf62f3ba914baff91.tar.gz
build: configure return exit status from gyp
Previously, 'configure' would not return an exit status if gyp blows up. This can be tested via: date >> node.gyp ; ./configure && echo A-OK You will get "A-OK" even though gyp had failed. Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d2998c8d3..2722d591f 100755
--- a/configure
+++ b/configure
@@ -730,4 +730,4 @@ else:
gyp_args += args
-subprocess.call(gyp_args)
+sys.exit(subprocess.call(gyp_args))