use wget not LWP, as we do not have LWP in the ref platform linux b=427690 r=nthomas
git-svn-id: svn://10.0.0.236/trunk@249948 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
755e0d5cd8
commit
8b8d75d342
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user