Merge pull request #275 from electron/fix-bootstrap
Bootstrap: change working directory when doing submodule updates.
This commit is contained in:
commit
4abd865989
1 changed files with 3 additions and 2 deletions
|
@ -58,9 +58,10 @@ def parse_args():
|
||||||
|
|
||||||
|
|
||||||
def update_submodules():
|
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',
|
subprocess.call(['git', 'submodule', 'update', '--init',
|
||||||
'--recursive']))
|
'--recursive'], cwd=SOURCE_ROOT))
|
||||||
|
|
||||||
|
|
||||||
def setup_libchromiumcontent(is_dev, commit, target_arch, url,
|
def setup_libchromiumcontent(is_dev, commit, target_arch, url,
|
||||||
|
|
Loading…
Reference in a new issue