summaryrefslogtreecommitdiff
path: root/scripts/build/cc_gcc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-03 17:51:16 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-03 17:51:16 (GMT)
commit1b9a490601f086f9b7e5826c747d8b59cfad80c8 (patch)
tree241093950790317a0111ebbea0a4c5b09f29d913 /scripts/build/cc_gcc.sh
parent266acfa4964803c4fc4ddd8edc015fd0a0ad51f2 (diff)
Some people are reposrting that ftp does not work on their network, probably due to proxies, while http does work.
Some (most) of the sites we use toretrieve tarballs have http equivallent for the ftp service. Use http as a failover. There's no solution for those sites that do not have such an http equivalent. /trunk/scripts/build/binutils.sh | 5 2 3 0 ++--- /trunk/scripts/build/libc_glibc.sh | 4 2 2 0 ++-- /trunk/scripts/build/libc_uClibc.sh | 2 1 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 8 3 5 0 +++----- /trunk/scripts/build/kernel_linux.sh | 7 2 5 0 ++----- /trunk/scripts/build/cc_gcc.sh | 6 2 4 0 ++---- /trunk/scripts/build/gmp.sh | 4 1 3 0 +--- 8 files changed, 14 insertions(+), 24 deletions(-)
Diffstat (limited to 'scripts/build/cc_gcc.sh')
-rw-r--r--scripts/build/cc_gcc.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/build/cc_gcc.sh b/scripts/build/cc_gcc.sh
index 92dc405..8578caf 100644
--- a/scripts/build/cc_gcc.sh
+++ b/scripts/build/cc_gcc.sh
@@ -15,10 +15,8 @@ do_cc_get() {
# Arrgghh! Some of those versions does not follow this convention:
# gcc-3.3.3 lives in releases/gcc-3.3.3, while gcc-2.95.* isn't in a
# subdirectory! You bastard!
- CT_GetFile "${CT_CC_FILE}" \
- ftp://ftp.gnu.org/gnu/gcc/${CT_CC_FILE} \
- ftp://ftp.gnu.org/gnu/gcc/releases/${CT_CC_FILE} \
- ftp://ftp.gnu.org/gnu/gcc
+ CT_GetFile "${CT_CC_FILE}" \
+ {ftp,http}://ftp.gnu.org/gnu/gcc{,{,/releases}/${CT_CC_FILE}}
}
# Extract gcc