From 59c894137310fb14c6dcf29c4bde3c89ab6a801a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 31 Oct 2009 09:15:53 +0100 Subject: [PATCH] cleanup destination setting :-) Signed-off-by: Nico Schottelius --- ccollect.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index 0247c00..9e779b9 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -495,9 +495,9 @@ while [ "${i}" -lt "${no_sources}" ]; do fi # set time when we really begin to backup, not when we began to remove above - destination_date="$(${CDATE})" - destination_dir="${ddir}/${INTERVAL}.${destination_date}.$$" - destination_full="${destination}/${INTERVAL}.${destination_date}.$$" + destination_name="${INTERVAL}.$(${CDATE}).$$" + destination_dir="${ddir}/${destination_name}" + destination_full="${destination}/${destination_name}" # give some info _techo "Beginning to backup, this may take some time..."