]> khamidou — GitHub mirrors - electron.git/commitdiff
Fist line of config.gypi should be empty
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 13:41:27 +0000 (21:41 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 13:41:27 +0000 (21:41 +0800)
script/bootstrap.py

index fa4ac87fa0b65053bf927fb218ac82e5f931801c..afd885219a4d95e7f578c1381cafb1b96f55e78c 100755 (executable)
@@ -174,7 +174,7 @@ def create_chrome_version_h():
 def touch_config_gypi():
   config_gypi = os.path.join(SOURCE_ROOT, 'vendor', 'node', 'config.gypi')
   with open(config_gypi, 'w+') as f:
-    content = "{\n  'variables': {\n    'openssl_fips': ''\n  }\n}"
+    content = "\n{\n  'variables': {\n    'openssl_fips': ''\n  }\n}"
     if f.read() != content:
       f.write(content)