Merge pull request #275 from electron/fix-bootstrap

Bootstrap: change working directory when doing submodule updates.
This commit is contained in:
Cheng Zhao 2017-02-13 19:26:04 +09:00 committed by GitHub
commit 4abd865989

View file

@ -58,9 +58,10 @@ def parse_args():
def update_submodules():
return (subprocess.call(['git', 'submodule', 'sync', '--quiet']) or
return (subprocess.call(['git', 'submodule', 'sync', '--quiet'],
cwd=SOURCE_ROOT) or
subprocess.call(['git', 'submodule', 'update', '--init',
'--recursive']))
'--recursive'], cwd=SOURCE_ROOT))
def setup_libchromiumcontent(is_dev, commit, target_arch, url,