summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-10 06:08:12 (GMT)
committerAlexey Neyman <stilor@att.net>2017-07-10 06:08:12 (GMT)
commitfd522eed500576a6e62431724314858e120679c6 (patch)
tree7868fa7f06af8a35ef9de54544fa55658482cd09 /scripts
parent64d5c254c7ea6b0e8dbccd01cafaa8d8d1aa3906 (diff)
Resolve a few more TBDs
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/cc/gcc.sh9
-rw-r--r--scripts/build/debug/200-duma.sh1
-rw-r--r--scripts/functions7
3 files changed, 8 insertions, 9 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 2f0d3f7..6019b35 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -14,10 +14,11 @@ do_cc_get() {
# GCC source tree, which will not be there unless we get it and
# put it there ourselves
if [ "${CT_CC_LANG_JAVA_USE_ECJ}" = "y" ]; then
- # TBD check return code
- CT_GetFile ecj-latest .jar http://mirrors.kernel.org/sourceware/java/ \
- ftp://gcc.gnu.org/pub/java \
- ftp://sourceware.org/pub/java
+ if ! CT_GetFile ecj-latest .jar $(CT_Mirrors sourceware java); then
+ # Should be a package, too - but with Java retirement in GCC,
+ # it may not make sense.
+ CT_Abort "Failed to download ecj-latest.jar"
+ fi
fi
}
diff --git a/scripts/build/debug/200-duma.sh b/scripts/build/debug/200-duma.sh
index afaeb02..bd35030 100644
--- a/scripts/build/debug/200-duma.sh
+++ b/scripts/build/debug/200-duma.sh
@@ -1,7 +1,6 @@
# Build script for D.U.M.A.
do_debug_duma_get() {
- # TBD need cleanup after sourceforge.net download?
CT_Fetch DUMA
}
diff --git a/scripts/functions b/scripts/functions
index a7dd541..79b7321 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -1460,10 +1460,9 @@ CT_Mirrors()
echo "ftp://ftp.gnu.org/gnu/${project}"
;;
sourceware)
- local subdir="${3:+/${3}}"
- echo "ftp://sourceware.org/pub/${project}/releases${subdir}"
- echo "http://mirrors.kernel.org/sourceware/${project}/releases${subdir}"
- echo "http://gcc.gnu.org/pub/${project}/releases${subdir}"
+ echo "ftp://sourceware.org/pub/${project}"
+ echo "http://mirrors.kernel.org/sourceware/${project}"
+ echo "http://gcc.gnu.org/pub/${project}"
;;
Linaro)
eval "local version=\"\${${3}}\""