Skip to content

Commit

Permalink
tests: Quote also the source filename
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje committed Sep 6, 2024
1 parent 6975b5c commit b5f70f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tasks/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
set -eu
if test -f {{ item | quote }}; then
mkdir -p {{ __sshd_test_backup.path | quote }}/$(dirname {{ item | quote }})
cp -a {{ item }} {{ __sshd_test_backup.path | quote }}/$(dirname {{ item | quote }})
cp -a {{ item | quote }} {{ __sshd_test_backup.path | quote }}/$(dirname {{ item | quote }})
fi
changed_when: false
loop: "{{ __sshd_test_backup_files | d([]) }}"
Expand Down

0 comments on commit b5f70f2

Please sign in to comment.