mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-05 14:09:31 +01:00
Increased to five download attempts in download.pl
SVN-Revision: 10486
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user