From 48a949cf60b422c1904dca42519e54902f3ed0a6 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 27 Sep 2017 22:29:35 -0700 Subject: Add an ability to verify the digest/signature Fixes #611. Signed-off-by: Alexey Neyman --- scripts/build/cc/gcc.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/build/cc') 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" -- cgit v1.2.3