summaryrefslogtreecommitdiff
path: root/scripts/build/debug/300-gdb.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-02-02 04:55:45 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-02-02 05:00:14 (GMT)
commit7b8d76ed5690c2e6490f35794726ffddf6e34ee4 (patch)
tree88f5d648df86ea7c91d2343633bec7cc07462e6e /scripts/build/debug/300-gdb.sh
parentefd8225d2ae1745a6cc797323777dacb08430fca (diff)
scripts/*/*.sh: prioritize http downloads
Prirotize http downloads before ftp downloads. By having http download first, those using proxy will work with the current download mechnism. This tells me that that mechnism needs to be updated. (proxy support and/or kconfig toggles) closes #3 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'scripts/build/debug/300-gdb.sh')
-rw-r--r--scripts/build/debug/300-gdb.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index 8fed3d0..4eee214 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -52,8 +52,9 @@ do_debug_gdb_get() {
if [ x"${linaro_version}" = x"${CT_GDB_VERSION}" ]; then
CT_GetFile "gdb-${CT_GDB_VERSION}" \
- ftp://{sourceware.org,gcc.gnu.org}/pub/gdb/releases \
- {http,ftp,https}://ftp.gnu.org/pub/gnu/gdb
+ http://mirrors.kernel.org/sourceware/gdb \
+ {http,ftp,https}://ftp.gnu.org/pub/gnu/gdb \
+ ftp://{sourceware.org,gcc.gnu.org}/pub/gdb/releases
else
YYMM=`echo ${CT_GDB_VERSION} |cut -d- -f3 |${sed} -e 's,^..,,'`
CT_GetFile "gdb-${CT_GDB_VERSION}" \