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.

PR-URL: https://github.com/joyent/node/pull/8856
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Steven R. Loomis authored and Ben Noordhuis committed 2014-12-10 17:51:58 +01:00
1 parent 687dfc9875
commit fb33b4ee33
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -877,4 +877,4 @@ else:
gyp_args += args
subprocess.call(gyp_args)
sys.exit(subprocess.call(gyp_args))