mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
Fix downloading released tarballs
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
bec14208a7
commit
9cde8a61b0
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user