forked from len0rd/rockbox
Include 60s timeout for wget commands in rockboxdev.sh
Added a 60s timeout to the script to avoid having to wait for ages when a download stalls. Change-Id: I97f0aafe4eac0fb3cfc83805c99d19f1ef02b9f9 Reviewed-on: http://gerrit.rockbox.org/636 Reviewed-by: Kevin Zheng <kevinz5000@gmail.com> Tested-by: Michael Rodger <rockbox@atinyhedgehog.za.net> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
This commit is contained in:
parent
4ead0344c6
commit
6845f6c396
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ getfile() {
|
|||
if test -n "$tool"; then
|
||||
# wget download
|
||||
echo "ROCKBOXDEV: Downloading $2/$1 using wget"
|
||||
$tool -O $dlwhere/$1 $2/$1
|
||||
$tool -T 60 -O $dlwhere/$1 $2/$1
|
||||
fi
|
||||
else
|
||||
# curl download
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue