Changeset 28708
- Timestamp:
- 2013-11-28T15:30:47+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugouts/METSPlugout.pm
r28562 r28708 71 71 72 72 my $self = new BasePlugout($plugoutlist,$inputargs,$hashArgOptLists); 73 74 if(defined $self->{'xslt_txt'} && $self->{'xslt_txt'} ne "") 75 { 76 my $full_file_path = &util::locate_config_file($self->{'xslt_txt'}); 77 if (!defined $full_file_path) { 78 print STDERR "Can not find $self->{'xslt_txt'}, please make sure you have supplied the correct file path or put the file into collection or greenstone etc folder\n"; 79 die "\n"; 80 } 81 $self->{'xslt_txt'} = $full_file_path; 82 } 83 if(defined $self->{'xslt_mets'} && $self->{'xslt_mets'} ne "") 84 { 85 my $full_file_path = &util::locate_config_file($self->{'xslt_mets'}); 86 if (!defined $full_file_path) { 87 print STDERR "Can not find $self->{'xslt_mets'}, please make sure you have supplied the correct file path or put the file into collection or greenstone etc folder\n"; 88 die "\n"; 89 } 90 $self->{'xslt_mets'} = $full_file_path; 91 } 92 73 93 return bless $self, $class; 74 94 }
Note:
See TracChangeset
for help on using the changeset viewer.