mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 21:07:54 +00:00
scripts: use generic urls for sourceforge
For expat, duma, and strace, use the generic url and 302 to the mirror instead of trying to download a file from a downed mirror and failing. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Message-Id: <b69ebeb72fef93c04c84.1345364051@flambe.is-a-geek.org> (transplanted from cb75966698d7e44bc76445d7b249eba89bdf1d8a)
This commit is contained in:
parent
d202a38e0b
commit
b658fdc2cf
@ -3,7 +3,7 @@
|
||||
do_debug_duma_get() {
|
||||
local dl_base
|
||||
|
||||
dl_base="http://dfn.dl.sourceforge.net/project/duma/duma"
|
||||
dl_base="http://downloads.sourceforge.net/project/duma/duma"
|
||||
dl_base+="/${CT_DUMA_VERSION//_/.}"
|
||||
|
||||
# Downloading an non-existing file from sourceforge will give you an
|
||||
|
@ -62,7 +62,7 @@ do_debug_gdb_get() {
|
||||
|
||||
if [ "${do_expat}" = "y" ]; then
|
||||
CT_GetFile "expat-${CT_DEBUG_GDB_EXPAT_VERSION}" .tar.gz \
|
||||
http://kent.dl.sourceforge.net/project/expat/expat/${CT_DEBUG_GDB_EXPAT_VERSION}
|
||||
http://downloads.sourceforge.net/project/expat/expat/${CT_DEBUG_GDB_EXPAT_VERSION}
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Build script for strace
|
||||
|
||||
do_debug_strace_get() {
|
||||
local base_url="http://kent.dl.sourceforge.net/project/strace/strace"
|
||||
local base_url="http://downloads.sourceforge.net/project/strace/strace"
|
||||
CT_GetFile "strace-${CT_STRACE_VERSION}" "${base_url}/${CT_STRACE_VERSION}"
|
||||
# Downloading from sourceforge leaves garbage, cleanup
|
||||
CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"*
|
||||
|
Loading…
Reference in New Issue
Block a user