Reference parent directory rather than parent data

This commit is contained in:
Alex D. 2024-12-11 10:55:41 +00:00
parent 2f8b18dcf2
commit 3d92aaec70
Signed by: caskd
GPG Key ID: F92BA85F61F4C173

View File

@ -33,7 +33,7 @@ delta() {
msg "Attempting to send delta"
mkdir -vp "$DEST/$TS_CURRENT"
ln -sv "../$TS_PARENT/$DESTNAME" "$DEST/$TS_CURRENT/$PARENTNAME"
ln -sv "../$TS_PARENT" "$DEST/$TS_CURRENT/$PARENTNAME"
btrfs -v send --compressed-data -p "$CUR" "$TMP" | compress > "$DEST/$TS_CURRENT/$DESTNAME.tmp"
mv -v "$DEST/$TS_CURRENT/$DESTNAME.tmp" "$DEST/$TS_CURRENT/$DESTNAME"
}