summaryrefslogtreecommitdiffstats
path: root/scripts/download.pl
diff options
context:
space:
mode:
authorAndy Boyett <agb@openwrt.org>2008-02-18 21:05:24 +0000
committerAndy Boyett <agb@openwrt.org>2008-02-18 21:05:24 +0000
commit197fafaff6e5dd19f7e61cde89435a56ed44276e (patch)
tree3f69ba13f865776a697aa1893473ac7961e1e792 /scripts/download.pl
parent1d699f3198c9a5ac052d08058ffb845658314a8c (diff)
downloadmaster-31e0f0ae-197fafaff6e5dd19f7e61cde89435a56ed44276e.tar.gz
master-31e0f0ae-197fafaff6e5dd19f7e61cde89435a56ed44276e.tar.bz2
master-31e0f0ae-197fafaff6e5dd19f7e61cde89435a56ed44276e.zip
Increased to five download attempts in download.pl
SVN-Revision: 10486
Diffstat (limited to 'scripts/download.pl')
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 806ee80458..e885ff25f5 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -63,7 +63,7 @@ sub download
$options or $options = "";
$mirror =~ s/\/$//;
- open WGET, "wget -t1 --timeout=20 $options -O- \"$mirror/$filename\" |" or die "Cannot launch wget.\n";
+ open WGET, "wget -t5 --timeout=20 $options -O- \"$mirror/$filename\" |" or die "Cannot launch wget.\n";
open MD5SUM, "| $md5cmd > \"$target/$filename.md5sum\"" or die "Cannot launch md5sum.\n";
open OUTPUT, "> $target/$filename.dl" or die "Cannot create file $target/$filename.dl: $!\n";
my $buffer;