1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

dist/tools/esptool: set --retry for curl in install.sh for stability

This commit is contained in:
Gunar Schorcht 2023-05-11 16:23:45 +02:00
parent 1438d41347
commit a83d5ba9b1

View File

@ -73,7 +73,7 @@ esac
download()
{
if [ "${URL_GET}" = "curl" ]; then
curl -L "$1" -o "$2"
curl -L "$1" --retry 10 -o "$2"
elif [ "${URL_GET}" = "wget" ]; then
wget "$1" -O "$2"
else