diff --git a/scripts/functions b/scripts/functions index b1c8be19..719c3857 100644 --- a/scripts/functions +++ b/scripts/functions @@ -1696,7 +1696,7 @@ CT_DoFetch() if [ "${src_release}" = "y" ]; then basename="${pkg_name}-${version}" - if ! CT_GetFile "${basename}" ${CT_MIRRORS}; then + if ! CT_GetFile "${basename}" ${mirrors}; then CT_Abort "${pkg_name}: download failed" fi @@ -1762,7 +1762,7 @@ CT_DoFetch() # Will be handled during extraction/patching :; else - CT_Abort "No known source for ${CT_DIR_NAME}" + CT_Abort "No known source for ${pkg_name}" fi }