mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
dist/tools/esptool: set --retry for curl in install.sh for stability
This commit is contained in:
parent
1438d41347
commit
a83d5ba9b1
2
dist/tools/esptools/install.sh
vendored
2
dist/tools/esptools/install.sh
vendored
@ -73,7 +73,7 @@ esac
|
|||||||
download()
|
download()
|
||||||
{
|
{
|
||||||
if [ "${URL_GET}" = "curl" ]; then
|
if [ "${URL_GET}" = "curl" ]; then
|
||||||
curl -L "$1" -o "$2"
|
curl -L "$1" --retry 10 -o "$2"
|
||||||
elif [ "${URL_GET}" = "wget" ]; then
|
elif [ "${URL_GET}" = "wget" ]; then
|
||||||
wget "$1" -O "$2"
|
wget "$1" -O "$2"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user