From 820aeaec8e0f11c82315129175eeb893299ff1d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Fri, 26 Feb 2021 01:34:21 +0100 Subject: [PATCH] download CA cert for Nimble --- scripts/build_nim.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build_nim.sh b/scripts/build_nim.sh index 50ed2f0..2857846 100755 --- a/scripts/build_nim.sh +++ b/scripts/build_nim.sh @@ -127,6 +127,9 @@ build_nim() { build_all.sh > build_all_custom.sh sh build_all_custom.sh rm build_all_custom.sh + # Nimble needs a CA cert + rm -f bin/cacert.pem + curl -LsS -o bin/cacert.pem https://curl.se/ca/cacert.pem || echo "Warning: 'curl' failed to download a CA cert needed by Nimble. Ignoring it." else # Don't re-build it multiple times until we get identical # binaries, like "build_all.sh" does. Don't build any tools