Changeset 16521


Ignore:
Timestamp:
2008-07-24T09:26:22+12:00 (16 years ago)
Author:
kjdon
Message:

pass in the file extension to get_tmp_filename otherwise it doesn't work properly

Location:
gsdl/trunk/perllib/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/ImageConverter.pm

    r16382 r16521  
    319319
    320320    # Determine the full name and path of the output file
    321     my $filehead = &util::get_tmp_filename();
    322     my $target_file_path = $filehead . "." . $target_file_type;
     321    my $target_file_path = &util::get_tmp_filename($target_file_type);
    323322    push(@{$self->{'tmp_file_paths'}}, $target_file_path);
    324323
  • gsdl/trunk/perllib/plugins/MARCXMLPlugin.pm

    r15872 r16521  
    390390    my $top_section = $doc_obj->get_top_section();
    391391
    392     my $tmp_marcxml_filename = &util::get_tmp_filename().".xml";
     392    my $tmp_marcxml_filename = &util::get_tmp_filename("xml");
    393393    if (open (XMLOUT,">$tmp_marcxml_filename")) {
    394394
Note: See TracChangeset for help on using the changeset viewer.