From 0dd448c661ca50d132da7c31a5388034c148669c Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Wed, 25 Sep 2019 00:17:57 +0300 Subject: [PATCH] Allow insecure downloads of the toolchain --- tools/install-esp-idf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install-esp-idf.sh b/tools/install-esp-idf.sh index d84496d..7d3ed73 100755 --- a/tools/install-esp-idf.sh +++ b/tools/install-esp-idf.sh @@ -49,7 +49,7 @@ if ! [ -x "$(command -v $IDF_TOOLCHAIN-gcc)" ]; then exit 1 fi echo "Downloading $TC_LINK" - curl -o $IDF_TOOLCHAIN.$TC_EXT $TC_LINK || exit 1 + curl -k -o $IDF_TOOLCHAIN.$TC_EXT $TC_LINK || exit 1 fi if [[ "$AR_OS" == "win32" ]]; then unzip $IDF_TOOLCHAIN.$TC_EXT || exit 1