add ddir to --link-dest

This commit is contained in:
Nico Schottelius 2008-03-17 11:44:20 +01:00
parent 036575df9d
commit 0d5cc4ddbc

View file

@ -31,7 +31,7 @@ CPOSTEXEC="${CDEFAULTS}/post_exec"
TMP=$(mktemp "/tmp/$(basename $0).XXXXXX")
VERSION=0.7.0
RELEASE="2008-03-XX"
RELEASE="2008-03-18"
HALF_VERSION="ccollect ${VERSION}"
FULL_VERSION="ccollect ${VERSION} (${RELEASE})"
@ -510,7 +510,7 @@ while [ "${i}" -lt "${no_sources}" ]; do
# clone from old backup, if existing
#
if [ "${last_dir}" ]; then
set -- "$@" "--link-dest=${last_dir}"
set -- "$@" "--link-dest=${ddir}/${last_dir}"
_techo "Hard linking from ${last_dir}"
fi