From d89642786850f777559a374f85f311cd79574a8b Mon Sep 17 00:00:00 2001 From: h3nryc0ding Date: Tue, 1 Oct 2024 00:11:09 +0100 Subject: [PATCH] fix: use instead of --- src/tox_ansible/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tox_ansible/plugin.py b/src/tox_ansible/plugin.py index d97ec82..035bafc 100644 --- a/src/tox_ansible/plugin.py +++ b/src/tox_ansible/plugin.py @@ -518,7 +518,7 @@ def conf_commands_pre( group = "echo ::group::Copy the collection to the galaxy build dir" commands.append(group) cd_tox_dir = f"cd {TOX_WORK_DIR}" - copy_cmd = f"cp -r --parents $(git ls-files 2> /dev/null || ls) {galaxy_build_dir}" + copy_cmd = f"rsync -r $(git ls-files 2> /dev/null || ls) {galaxy_build_dir}" full_cmd = f"bash -c '{cd_tox_dir} && {copy_cmd}'" commands.append(full_cmd) if in_action():