1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-01 00:21:51 +02:00

Increased to five download attempts in download.pl

SVN-Revision: 10486
This commit is contained in:
Andy Boyett 2008-02-18 21:05:24 +00:00
parent 1d699f3198
commit 197fafaff6

@ -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;