From e87a7c286cbcca6b5fed5f78ee02d45a5d761eda Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 2 Jul 2013 09:33:11 +0800 Subject: [PATCH] Don't throw exception when gyp fails. This makes output cleaner when we got a gyp error. --- script/update.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/update.py b/script/update.py index bc491a90..605b5aef 100755 --- a/script/update.py +++ b/script/update.py @@ -31,10 +31,10 @@ def update_gyp(): python = sys.executable if sys.platform == 'cygwin': python = os.path.join('vendor', 'python_26', 'python.exe') - subprocess.check_call([python, gyp, - '-f', 'ninja', '--depth', '.', 'atom.gyp', - '-Icommon.gypi', '-Ivendor/brightray/brightray.gypi', - '-Dtarget_arch=ia32', '-Dlibrary=static_library']) + subprocess.call([python, gyp, + '-f', 'ninja', '--depth', '.', 'atom.gyp', + '-Icommon.gypi', '-Ivendor/brightray/brightray.gypi', + '-Dtarget_arch=ia32', '-Dlibrary=static_library']) if __name__ == '__main__': -- 2.43.0