mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 20:37:56 +00:00
Skip ftp:// URLs, wget cannot verify them
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
bc30eb4818
commit
373f22648f
6
TODO
6
TODO
@ -2,6 +2,12 @@ A (slightly) ordered set of tasks for crosstool-NG. Written in a cryptic languag
|
||||
|
||||
-- Alexey Neyman (@stilor)
|
||||
|
||||
[ ] test-packages.sh
|
||||
[ ] FTP URLs always succeed in verification (wget bug) - how to work around?
|
||||
[ ] new function - refresh/renumber patches
|
||||
[ ] templates (bootstrap)
|
||||
[ ] #!foreach xxx if-changed yyy to avoid unnecessary 'default' lines
|
||||
[ ] relevant pattern for Linaro releases - tie to the major version
|
||||
[ ] new packages
|
||||
[ ] config.guess
|
||||
[ ] gnulib
|
||||
|
@ -92,7 +92,11 @@ check_pkg_urls()
|
||||
CT_DoStep EXTRA "Looking for ${archive_filename}${e}"
|
||||
for m in ${mirrors}; do
|
||||
url="${m}/${archive_filename}${e}"
|
||||
mh="${m#*://}"
|
||||
case "${url}" in
|
||||
# WGET always returns success for FTP URLs in spider mode :(
|
||||
ftp://*) CT_DoLog DEBUG "Skipping '${url}': FTP not supported"; continue;;
|
||||
esac
|
||||
mh="${url#*://}"
|
||||
mh="${mh%%[:/]*}"
|
||||
if [ -n "${mirror_status[${mh}]}" ]; then
|
||||
CT_DoLog DEBUG "Skipping '${url}': already found on this host at '${mirror_status[${mh}]}'"
|
||||
|
Loading…
Reference in New Issue
Block a user