summaryrefslogtreecommitdiff
path: root/scripts/build/debug
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-02-03 15:34:18 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-02-03 15:34:18 (GMT)
commit6168aff98d9a3f327c376f2fe83367e0b2b62360 (patch)
treead6a4e0c79a1a330352c9f3a4b120df138d37285 /scripts/build/debug
parentf4788fd57d355458c2041f002222c445b04e3602 (diff)
parent7b8d76ed5690c2e6490f35794726ffddf6e34ee4 (diff)
Merge pull request #40 from bhundven/download_http_first
scripts/*/*.sh: prioritize http downloads
Diffstat (limited to 'scripts/build/debug')
-rw-r--r--scripts/build/debug/300-gdb.sh5
-rw-r--r--scripts/build/debug/400-ltrace.sh2
2 files changed, 4 insertions, 3 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}" \
diff --git a/scripts/build/debug/400-ltrace.sh b/scripts/build/debug/400-ltrace.sh
index 01e8081..56f2580 100644
--- a/scripts/build/debug/400-ltrace.sh
+++ b/scripts/build/debug/400-ltrace.sh
@@ -2,7 +2,7 @@
do_debug_ltrace_get() {
CT_GetFile "ltrace_${CT_LTRACE_VERSION}.orig" .tar.gz \
- {ftp,http}://ftp.debian.org/debian/pool/main/l/ltrace/
+ {http,ftp}://ftp.debian.org/debian/pool/main/l/ltrace/
# Create a link so that the following steps are easier to do:
CT_Pushd "${CT_TARBALLS_DIR}"
ltrace_ext=$(CT_GetFileExtension "ltrace_${CT_LTRACE_VERSION}.orig")