Skip to content

Commit

Permalink
add --recursive flag to git submodule sync
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik authored Jul 8, 2019
1 parent f90f8b7 commit 84300e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def run_subprocess(args, cwd=None, capture=False, dll_path=None, shell=False):
return subprocess.run(args, cwd=cwd, check=True, stdout=stdout, stderr=stderr, env=my_env, shell=shell)

def update_submodules(source_dir):
run_subprocess(["git", "submodule", "sync"], cwd=source_dir)
run_subprocess(["git", "submodule", "sync", "--recursive"], cwd=source_dir)
run_subprocess(["git", "submodule", "update", "--init", "--recursive"], cwd=source_dir)

def is_docker():
Expand Down

0 comments on commit 84300e1

Please sign in to comment.