diff options
author | Alexey Neyman <stilor@att.net> | 2017-06-28 00:42:30 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-07-08 10:57:56 -0700 |
commit | 9cde8a61b034975e1d48d95314768890f5e31017 (patch) | |
tree | ed29a668add7fe5f92a9a14efb2a52894e31be0a /scripts/functions | |
parent | bec14208a7a92461957ae31b7b2bd68543917ef0 (diff) | |
download | crosstool-ng-9cde8a61b034975e1d48d95314768890f5e31017.tar.gz crosstool-ng-9cde8a61b034975e1d48d95314768890f5e31017.tar.bz2 crosstool-ng-9cde8a61b034975e1d48d95314768890f5e31017.zip |
Fix downloading released tarballs
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |