Changeset 23484 for main/trunk/greenstone2
- Timestamp:
- 2010-12-14T15:24:37+13:00 (13 years ago)
- Location:
- main/trunk/greenstone2/perllib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/BasePlugin.pm
r23472 r23484 1042 1042 1043 1043 # should we move this to read? What about secondary plugins? 1044 my $pp_file = &util::prettyprint_file($base_dir,$file,$gli); 1044 1045 print STDERR "<Processing n='$file' p='$self->{'plugin_type'}'>\n" if ($gli); 1045 my $pp_file = &util::prettyprint_file($base_dir,$file);1046 1046 print $outhandle "$self->{'plugin_type'} processing $pp_file\n" 1047 1047 if $self->{'verbosity'} > 1; -
main/trunk/greenstone2/perllib/plugins/ReadTextFile.pm
r23387 r23484 122 122 # should we move this to read? What about secondary plugins? 123 123 print STDERR "<Processing n='$file' p='$self->{'plugin_type'}'>\n" if ($gli); 124 my $pp_file = &util::prettyprint_file($base_dir,$file );124 my $pp_file = &util::prettyprint_file($base_dir,$file,$gli); 125 125 print $outhandle "$self->{'plugin_type'} processing $pp_file\n" 126 126 if $self->{'verbosity'} > 1; -
main/trunk/greenstone2/perllib/util.pm
r23483 r23484 502 502 503 503 if ($ENV{'GSDLOS'} =~ /^windows$/i) { 504 504 505 # symlink not supported on windows 505 506 &File::Copy::copy ($src, $dest); … … 1073 1074 sub prettyprint_file 1074 1075 { 1075 my ($base_dir,$file ) = @_;1076 my ($base_dir,$file,$gli) = @_; 1076 1077 1077 1078 my $filename_full_path = &util::filename_cat($base_dir,$file); … … 1088 1089 1089 1090 $file = filename_within_directory($long_full_path,$long_base_dir); 1091 $file = encode("utf8",$file) if ($gli); 1090 1092 } 1091 1093
Note:
See TracChangeset
for help on using the changeset viewer.