Ignore:
Timestamp:
2013-09-10T15:37:45+12:00 (11 years ago)
Author:
ak19
Message:
  1. Jenny and I fixed an oversight in OAIDownload, thanks to Kathy's suggestion, where an html page's contents used to be inspected for file types specified to be downloaded with GetDocument ONLY if the file extension was htm(l). Now the test is whether the header specifies Content-Type text/html. 2. Deprecated utils functions replaced with their FileUtils equivalents.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/downloaders/WgetDownload.pm

    r17840 r28250  
    238238    }
    239239
    240     my $wget_file_path = &util::filename_cat($ENV{'GSDLHOME'}, "bin", $ENV{'GSDLOS'}, "wget");
     240    my $wget_file_path = &FileUtils::filenameConcatenate($ENV{'GSDLHOME'}, "bin", $ENV{'GSDLOS'}, "wget");
    241241    $command = "\"$wget_file_path\" $cmdWget";
    242242    #print STDOUT "Command is: $command\n";
     
    387387    }
    388388
    389     my $wget_file_path = &util::filename_cat($ENV{'GSDLHOME'}, "bin", $ENV{'GSDLOS'}, "wget");
     389    my $wget_file_path = &FileUtils::filenameConcatenate($ENV{'GSDLHOME'}, "bin", $ENV{'GSDLOS'}, "wget");
    390390    my $command = "\"$wget_file_path\" $cmdWget";
    391391    #print STDOUT "Command is: $command\n";
     
    538538
    5395391;
     540
Note: See TracChangeset for help on using the changeset viewer.