1
0
Fork 0
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:
Michael Rodger 2013-10-13 21:06:36 +00:00 committed by Amaury Pouly
parent 4ead0344c6
commit 6845f6c396

View file

@ -71,7 +71,7 @@ getfile() {
if test -n "$tool"; then if test -n "$tool"; then
# wget download # wget download
echo "ROCKBOXDEV: Downloading $2/$1 using wget" echo "ROCKBOXDEV: Downloading $2/$1 using wget"
$tool -O $dlwhere/$1 $2/$1 $tool -T 60 -O $dlwhere/$1 $2/$1
fi fi
else else
# curl download # curl download