Changeset 28560 for main/trunk/greenstone2/perllib/plugins/LOMPlugin.pm
- Timestamp:
- 2013-10-30T20:54:49+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/LOMPlugin.pm
r24971 r28560 37 37 use MetadataRead; 38 38 use util; 39 use FileUtils; 39 40 use XMLParser; 40 41 use Cwd; … … 582 583 my $output_dir = $self->{'output_dir'}; 583 584 584 $output_dir = & util::filename_cat($output_dir,"_gsdldown.all");585 $output_dir = &FileUtils::filenameConcatenate($output_dir,"_gsdldown.all"); 585 586 586 587 if (! -d $output_dir) { … … 596 597 $file_url .= "index.html" if ($file_url =~ m/\/$/); 597 598 598 my $full_file_url = & util::filename_cat($output_dir,$file_url);599 my $full_file_url = &FileUtils::filenameConcatenate($output_dir,$file_url); 599 600 # the path to srcdoc will be used later in extrametadata to associate 600 601 # the lom metadata with the document. Needs to be relative to current 601 602 # directory. 602 my $srcdoc_path = & util::filename_cat("_gsdldown.all", $file_url);603 my $srcdoc_path = &FileUtils::filenameConcatenate("_gsdldown.all", $file_url); 603 604 my $check_timestamp = $self->{'check_timestamp'}; 604 605 my $status; … … 628 629 } 629 630 ##print STDERR "**** wget = $wget_cmd\n"; 630 631 632 # the wget binary is dependent on the gnomelib_env (particularly lib/libiconv2.dylib) being set, particularly on Mac Lions (android too?) 633 &util::set_gnomelib_env(); # this will set the gnomelib env once for each subshell launched, by first checking if GEXTGNOME is not already set 631 634 632 635 $status = system($wget_cmd);
Note:
See TracChangeset
for help on using the changeset viewer.