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>
pull/36/merge
Steven R. Loomis 2014-12-10 09:04:33 -08:00 committed by Ben Noordhuis
parent 687dfc9875
commit fb33b4ee33
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -877,4 +877,4 @@ else:
gyp_args += args
subprocess.call(gyp_args)
sys.exit(subprocess.call(gyp_args))