diff options
author | Alexey Neyman <stilor@att.net> | 2017-09-27 22:29:35 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-09-27 22:40:21 -0700 |
commit | 48a949cf60b422c1904dca42519e54902f3ed0a6 (patch) | |
tree | 923dd08ce1fee74b3431086e13be0ae0739dd9a1 /scripts/build/cc/gcc.sh | |
parent | f86adab1f41b2320c20ffe2e9ffe0c6d12954c33 (diff) | |
download | crosstool-ng-48a949cf60b422c1904dca42519e54902f3ed0a6.tar.gz crosstool-ng-48a949cf60b422c1904dca42519e54902f3ed0a6.tar.bz2 crosstool-ng-48a949cf60b422c1904dca42519e54902f3ed0a6.zip |
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.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 54303410..b5ae7b10 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" |