Changeset 9427
- Timestamp:
- 2005-03-15T15:19:28+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/UnknownPlug.pm
r8716 r9427 69 69 'type' => "string", 70 70 'deft' => "", 71 'reqd' => "no" } 71 'reqd' => "no" }, 72 72 { 'name' => "file_format", 73 73 'desc' => "{UnknownPlug.file_format}", … … 77 77 { 'name' => "mime_type", 78 78 'desc' => "{UnknownPlug.mime_type}", 79 'type' => "string", 80 'deft' => "", 81 'reqd' => "no" }, 82 { 'name' => "process_extension", 83 'desc' => "{UnknownPlug.process_extension}", 79 84 'type' => "string", 80 85 'deft' => "", … … 100 105 q^file_format/.*/^, \$self->{'file_format'}, 101 106 q^mime_type/.*/^, \$self->{'mime_type'}, 107 q^process_extension/.*/^, \$self->{'process_extension'}, 102 108 "allow_extra_options")) { 103 109 print STDERR "\nIncorrect options passed to UnknownPlug, check your collect.cfg configuration file\n"; … … 106 112 } 107 113 114 # "-process_extension" is a simpler alternative to -process_exp for non-regexp people 115 if (!$self->{'process_exp'} && $self->{'process_extension'}) { 116 $self->{'process_exp'} = "\." . $self->{'process_extension'} . "\$"; 117 } 108 118 109 119 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.