From 0d5cc4ddbca76857dea2fadec38dcfbf8f14e7f2 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 17 Mar 2008 11:44:20 +0100 Subject: [PATCH] add ddir to --link-dest --- ccollect.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index 8c70c09..32423b1 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -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