Increased to five download attempts in download.pl

SVN-Revision: 10486
master
Andy Boyett 17 years ago
parent 1d699f3198
commit 197fafaff6
  1. 2
      scripts/download.pl

@ -63,7 +63,7 @@ sub download
$options or $options = ""; $options or $options = "";
$mirror =~ s/\/$//; $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 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"; open OUTPUT, "> $target/$filename.dl" or die "Cannot create file $target/$filename.dl: $!\n";
my $buffer; my $buffer;

Loading…
Cancel
Save