diff options
author | Alexey Neyman <stilor@att.net> | 2017-06-28 07:42:30 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-07-08 17:57:56 (GMT) |
commit | 9cde8a61b034975e1d48d95314768890f5e31017 (patch) | |
tree | ed29a668add7fe5f92a9a14efb2a52894e31be0a /scripts | |
parent | bec14208a7a92461957ae31b7b2bd68543917ef0 (diff) |
Fix downloading released tarballs
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index b1c8be1..719c385 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 } |