Fix downloading released tarballs

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-06-28 00:42:30 -07:00
parent bec14208a7
commit 9cde8a61b0

View File

@ -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
}