Verified Commit 8c92967b authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

syncrepo-template: Add note about .~tmp~ workaround

The workaround can be skipped/removed when using rsync newer than 3.2.3.
parent 5704356c
Pipeline #9985 passed with stage
in 33 seconds
...@@ -63,6 +63,8 @@ exec 9>"${lock}" ...@@ -63,6 +63,8 @@ exec 9>"${lock}"
flock -n 9 || exit flock -n 9 || exit
# Cleanup any temporary files from old run that might remain. # Cleanup any temporary files from old run that might remain.
# Note: You can skip this if you have rsync newer than 3.2.3
# not affected by https://github.com/WayneD/rsync/issues/192
find "${target}" -name '.~tmp~' -exec rm -r {} + find "${target}" -name '.~tmp~' -exec rm -r {} +
rsync_cmd() { rsync_cmd() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment