From fb33b4ee33809bddf246af0e0c64a8ccc714dc51 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 10 Dec 2014 09:04:33 -0800 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 09741bc41c4b1a..27818aef7c5ff3 100755 --- a/configure +++ b/configure @@ -877,4 +877,4 @@ else: gyp_args += args -subprocess.call(gyp_args) +sys.exit(subprocess.call(gyp_args))