mirror of
https://github.com/troglobit/libite.git
synced 2026-11-14 19:03:05 +00:00
With LITE_FOPT_RSYNC_LINKS, rsync() leaves symlinks in the destination. If the source later has a regular file or a directory by the same name, the next run follows the old link and writes to whatever it points at, which can be outside the destination tree. Remove such a link before copying. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>