[FIX] pull submodule : use str instead of Posix path
This commit is contained in:
parent
2f5f1edaf0
commit
ee8fb9bd1a
|
|
@ -36,12 +36,18 @@ def pull_submodule(ctx, versions):
|
||||||
"-b",
|
"-b",
|
||||||
str(version_cfg["repo_branch"]),
|
str(version_cfg["repo_branch"]),
|
||||||
version_cfg["repo_url"],
|
version_cfg["repo_url"],
|
||||||
submodule_path,
|
str(submodule_path),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
execute_check_output(
|
execute_check_output(
|
||||||
["git", "pull", "origin", str(version_cfg["repo_branch"])],
|
[
|
||||||
|
"git",
|
||||||
|
"pull",
|
||||||
|
"origin",
|
||||||
|
str(version_cfg["repo_branch"]),
|
||||||
|
"--rebase",
|
||||||
|
],
|
||||||
working_directory=submodule_path,
|
working_directory=submodule_path,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user