Changeset 13902
- Timestamp:
- 2007-02-13T10:31:08+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/downloaders/WebDownload.pm
r13331 r13902 105 105 106 106 # Setup the command for using wget 107 my $cache_dir = "";108 if ($ENV{'GSDLOS'} eq "windows") { 107 my $cache_dir = ""; 108 if ($ENV{'GSDLOS'} eq "windows") { 109 109 $cache_dir = "-P \"".$hashGeneralOptions->{"cache_dir"}."\" "; 110 110 } 111 else{ 112 $cache_dir = "-P ".$hashGeneralOptions->{"cache_dir"}; 113 } 114 111 115 #my $cmdWget = "-N -k -x -t 2 -P \"".$hashGeneralOptions->{"cache_dir"}."\" $strWgetOptions $strOptions ".$self->{'url'}; 112 my $cmdWget = "-N -k -x -t 2 $strWgetOptions $strOptions $cache_dir " .$self->{'url'}; 116 my $cmdWget = "-N -k -x -t 2 $strWgetOptions $strOptions $cache_dir " .$self->{'url'}; 113 117 114 118 # Download the web pages … … 124 128 125 129 # if ($strResponse ne ""){print "$strResponse\n";} 126 127 print STDERR "Finish download from $self->{'url'}\n"; 130 print STDERR "Finish download from $self->{'url'}\n"; 128 131 129 132 print STDERR "<<Finished>>\n";
Note:
See TracChangeset
for help on using the changeset viewer.