Skip to content

Commit 1434314

Browse files
committed
Substitue after the split
1 parent 69200cf commit 1434314

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎pikaur/install_cli.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,11 +1050,11 @@ def review_build_files(self) -> None: # pragma: no cover pylint:disable=too-ma
10501050
elif diff_pager == DiffPagerValues.NEVER:
10511051
git_args = ["env", "GIT_PAGER=cat"]
10521052
git_cmd = PikaurConfig().review.GitCmd.get_str()
1053-
git_args += shlex.split(
1054-
git_cmd.replace("{{repo_path}}", str(pkg_build.repo_path))
1053+
for s in shlex.split(git_cmd):
1054+
git_args += [s.replace("{{repo_path}}", str(pkg_build.repo_path))
10551055
.replace("{{last_install_hash}}", pkg_build.last_installed_hash)
10561056
.replace("{{current_hash}}", pkg_build.current_hash)
1057-
)
1057+
]
10581058

10591059
for file_path in PikaurConfig().review.HideDiffFiles.get_str().split(","):
10601060
if file_path:

0 commit comments

Comments
 (0)