Changeset 31700 for main/trunk/greenstone2
- Timestamp:
- 2017-05-25T13:21:02+12:00 (7 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/import.pl
r31132 r31700 112 112 [ 113 113 $saveas_argument, 114 { 'name' => "saveas_options", 115 'desc' => "{import.saveas_options}", 116 'type' => "string", 117 'reqd' => "no" }, 114 118 { 'name' => "sortmeta", 115 119 'desc' => "{import.sortmeta}", … … 320 324 } 321 325 } 326 if (!defined $inexport->{'saveas_options'} || $inexport->{'saveas_options'} eq "") { 327 if (defined $collectcfg->{'saveas_options'} ){ 328 $inexport->{'saveas_options'} = $collectcfg->{'saveas_options'}; 329 } 330 } 322 331 323 332 my $sortmeta = $inexport->{'sortmeta'}; -
main/trunk/greenstone2/perllib/inexport.pm
r31409 r31700 671 671 my $plugout_name = $plugout->[0]; 672 672 673 if ( $inexport_mode eq "export" &&defined $saveas_options) {673 if (defined $saveas_options) { 674 674 my @user_plugout_options = split(" ", $saveas_options); 675 675 push @$plugout, @user_plugout_options;
Note:
See TracChangeset
for help on using the changeset viewer.