summaryrefslogtreecommitdiff
path: root/scripts/build/cc/gcc.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-09-28 05:29:35 (GMT)
committerAlexey Neyman <stilor@att.net>2017-09-28 05:40:21 (GMT)
commit48a949cf60b422c1904dca42519e54902f3ed0a6 (patch)
tree923dd08ce1fee74b3431086e13be0ae0739dd9a1 /scripts/build/cc/gcc.sh
parentf86adab1f41b2320c20ffe2e9ffe0c6d12954c33 (diff)
Add an ability to verify the digest/signature
Fixes #611. Signed-off-by: Alexey Neyman <stilor@att.net>
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"