Skip to content

Commit 7da165f

Browse files
committed
[utils] Fix submodule logic for update-checkout script
1 parent 39d3131 commit 7da165f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/update-checkout

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ def obtain_additional_swift_sources(
9696
shell.call(['git', '--git-dir', src_path, '--work-tree',
9797
os.path.join(SWIFT_SOURCE_ROOT, dir_name),
9898
'checkout', repo_branch], echo=False)
99-
99+
with shell.pushd(os.path.join(SWIFT_SOURCE_ROOT, dir_name),
100+
dry_run=False, echo=False):
101+
shell.call(["git", "submodule", "update", "--recursive"],
102+
echo=False)
100103

101104
def validate_config(config):
102105
# Make sure that our branch-names are unique.

0 commit comments

Comments
 (0)