зеркало из https://github.com/mozilla/gecko-dev.git
use wget not LWP, as we do not have LWP in the ref platform linux b=427690 r=nthomas
This commit is contained in:
Родитель
d54385e481
Коммит
b75de9fc7e
|
@ -6,8 +6,6 @@ use Bootstrap::Step;
|
|||
use Bootstrap::Config;
|
||||
@ISA = ("Bootstrap::Step");
|
||||
|
||||
use LWP::Simple;
|
||||
|
||||
sub Execute {
|
||||
my $this = shift;
|
||||
|
||||
|
@ -23,7 +21,7 @@ sub Execute {
|
|||
|
||||
$this->Log(msg => 'Looking for url ' . $url);
|
||||
|
||||
while (! head($url)) {
|
||||
while (system('wget', '-q', '--spider', $url)) {
|
||||
sleep(10);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче