Allow insecure downloads of the toolchain

This commit is contained in:
me-no-dev 2019-09-25 00:17:57 +03:00
parent 63347f8453
commit 0dd448c661

View file

@ -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