From: Cheng Zhao Date: Fri, 3 Jul 2015 13:41:27 +0000 (+0800) Subject: Fist line of config.gypi should be empty X-Git-Tag: v0.29.1~5 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3533be2f9f5b7755afb6594c766e5127ebfca31c;p=electron.git Fist line of config.gypi should be empty --- diff --git a/script/bootstrap.py b/script/bootstrap.py index fa4ac87f..afd88521 100755 --- a/script/bootstrap.py +++ b/script/bootstrap.py @@ -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)