aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2026-06-13 16:19:12 +0200
committerEinhard Leichtfuß <alguien@respiranto.de>2026-06-13 16:19:12 +0200
commitc18bb4e0e1f57ede89eac4cb961df35b67b3612e (patch)
tree47694fa469fd0760a7bbd4e52ff3e4485d3c96c9
parentbf86ae4c77fa6c6de544bfe630c6abc83b9d34ab (diff)
Work around relative link dest bugHEADmasterdevel
Don't use a relative link dest. Bug: https://github.com/RsyncProject/rsync/issues/928 (bug is fixed upstream, but present in Debian's 3.4.1+ds1-5+deb13u3)
-rw-r--r--local2
1 files changed, 1 insertions, 1 deletions
diff --git a/local b/local
index 37b2574..b13ee9d 100644
--- a/local
+++ b/local
@@ -110,7 +110,7 @@ function transfer_incremental_backup
# Note: Use --link-dest instead of making the old backup part of the target
# directory, since src/old_date may have changed due to in-place
# modifications.
- "$RSYNC" "${rsync_args[@]}" --link-dest='..' \
+ "$RSYNC" "${rsync_args[@]}" --link-dest="$dest" \
"${src}/${src_mirror_reldir}"/{"$old_date","$new_date"} \
"${dest}/work" \
|| return $RET_ERROR