[FIX] pull submodule : use str instead of Posix path

This commit is contained in:
Sylvain LE GAL 2022-10-11 13:46:48 +02:00
parent 2f5f1edaf0
commit ee8fb9bd1a

View File

@ -36,12 +36,18 @@ def pull_submodule(ctx, versions):
"-b",
str(version_cfg["repo_branch"]),
version_cfg["repo_url"],
submodule_path,
str(submodule_path),
]
)
else:
execute_check_output(
["git", "pull", "origin", str(version_cfg["repo_branch"])],
[
"git",
"pull",
"origin",
str(version_cfg["repo_branch"]),
"--rebase",
],
working_directory=submodule_path,
)
else: