summaryrefslogtreecommitdiff
path: root/scripts/build/cc/gcc.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-10-01 03:37:22 (GMT)
committerGitHub <noreply@github.com>2017-10-01 03:37:22 (GMT)
commitf966dd855fd8984f333cf7da3c7c137794e1f34c (patch)
treebf0c6d296987c2e21b9ca77e1532c9fb8c5bdb96 /scripts/build/cc/gcc.sh
parentf86adab1f41b2320c20ffe2e9ffe0c6d12954c33 (diff)
parentca45a8f9abd672189dbef5bcb242ac465df7b0f6 (diff)
Merge pull request #837 from stilor/download-verify
Verification of the downloads
Diffstat (limited to 'scripts/build/cc/gcc.sh')
-rw-r--r--scripts/build/cc/gcc.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 5430341..b5ae7b1 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -14,7 +14,8 @@ 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
- if ! CT_GetFile ecj ecj-latest .jar $(CT_Mirrors sourceware java); then
+ if ! CT_GetFile package=ecj basename=ecj-latest extensions=.jar \
+ mirrors=$(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"