diff --git a/ccollect b/ccollect index 2deaa2d..8b8f9e5 100755 --- a/ccollect +++ b/ccollect @@ -868,7 +868,7 @@ while [ "${source_no}" -lt "${no_sources}" ]; do latest_dir="$(ls -${TSORT}p1 "${ddir}" | grep '/$' | head -n 1)" || \ _exit_err "Failed to list content of ${ddir}." - ln -snf "${ddir}${latest_dir}" "${ddir}current" || \ + ln -snf "${ddir}/${latest_dir}" "${ddir}/current" || \ _exit_err "Failed to create 'current' symlink." #