Changeset 2041 for trunk/gsdl/perllib/plugins/ConvertToPlug.pm
- Timestamp:
- 2001-02-21T16:16:43+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ConvertToPlug.pm
r2036 r2041 145 145 = File::Basename::fileparse($input_filename,'\.[^\.]+$'); 146 146 147 # Remove any white space from filename -- no risk of name collision, and 148 # makes later conversion by utils simpler. Leave spaces in path... 149 $tailname =~ s/\s+//g; 150 147 151 my $tmp_filename = &util::filename_cat($tmp_dirname,"$tailname$suffix"); 148 # Remove any white space from filename -- no risk of name collision, and149 # makes later conversion by utils simpler150 $tmp_filename =~ s/\s+//g;151 152 152 153 &util::soft_link($input_filename,$tmp_filename); … … 226 227 my $conv_filename = $self->tmp_area_convert_file($output_ext,$filename); 227 228 if ("$conv_filename" eq "") {return 0;} # allows continue on errors 229 if (! -e "$conv_filename") {return 0;} # allows continue on errors 228 230 $self->{'conv_filename'} = $conv_filename; 229 231
Note:
See TracChangeset
for help on using the changeset viewer.