- Timestamp:
- 2017-06-29T19:50:02+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/ConvertBinaryFile.pm
r31761 r31766 263 263 my $ensure_path_absolute = 1; # true 264 264 &FileUtils::softLink($input_filename, $tmp_filename, $ensure_path_absolute); 265 266 my $output_filename = $self->run_conversion_command($tmp_dirname, $tmp_filename, 267 $utf8_tailname, $lc_suffix, $tailname, $suffix); 268 269 return $output_filename; 270 } 271 272 # The latter half of tmp_area_convert_file: runs the conversion command and returns the output file name 273 # Split from tmp_area_convert_file because UnknownConverterPlugin can then inherit all of 274 # tmp_area_convert_file and only needs to override this part: 275 sub run_conversion_command { 276 my $self = shift (@_); 277 my ($tmp_dirname, $tmp_filename, $utf8_tailname, $lc_suffix, $tailname, $suffix) = @_; 278 279 my $outhandle = $self->{'outhandle'}; 280 my $convert_to = $self->{'convert_to'}; 281 my $failhandle = $self->{'failhandle'}; 282 265 283 my $verbosity = $self->{'verbosity'}; 266 284 if ($verbosity > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.