From 6845f6c3969f44275a4255d6d4251660dc735dd1 Mon Sep 17 00:00:00 2001 From: Michael Rodger Date: Sun, 13 Oct 2013 21:06:36 +0000 Subject: 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 Tested-by: Michael Rodger Reviewed-by: Amaury Pouly --- tools/rockboxdev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index 7a43be0a96..3d19863e21 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -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 -- cgit v1.2.3