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..."