From: Cheng Zhao Date: Tue, 2 Jul 2013 01:33:11 +0000 (+0800) Subject: Don't throw exception when gyp fails. X-Git-Tag: v0.1.0~46 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e87a7c286cbcca6b5fed5f78ee02d45a5d761eda;p=electron.git Don't throw exception when gyp fails. This makes output cleaner when we got a gyp error. --- 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__':