]> khamidou — GitHub mirrors - electron.git/commitdiff
Don't throw exception when gyp fails.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 2 Jul 2013 01:33:11 +0000 (09:33 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 2 Jul 2013 01:33:11 +0000 (09:33 +0800)
This makes output cleaner when we got a gyp error.

script/update.py

index bc491a907ae256710cc403cac5d84b5e28a75578..605b5aefc395fd79b290e4f9e34721d8a0514c52 100755 (executable)
@@ -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__':