Changeset 31396 for main/trunk/greenstone2
- Timestamp:
- 2017-02-09T18:32:27+13:00 (7 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/full-rebuild.pl
r29109 r31396 127 127 push(@activate_argv,$activate_arg,$activate_val); 128 128 } 129 elsif ($arg =~ "-OIDtype") { 130 shift @argv; # skip OIDtype (don't pass OIDtype to buildcol.pl. It's not currently accepted.) 131 # this allows us to run full-rebuild.pl -OIDtype filename for instance 132 } 129 133 else { 130 134 push(@import_argv,$arg); -
main/trunk/greenstone2/perllib/cfgread.pm
r26449 r31396 159 159 160 160 my $key = shift (@$line); 161 162 # OIDtype and OIDmetadata may be present in collect.cfg as "oidtype" and "oidmetadata" 163 # but rest of perl code expects it to be OIDtype/OIDmetadata and uses these as indexes into hashes 164 # so convert any lowercase version to uppercase here 165 if($key =~ m/^oid(type|metadata)/) { 166 $key =~ s/^oid/OID/; 167 } 161 168 if (defined $stringexp && $key =~ /$stringexp/) { 162 169 $data->{$key} = shift (@$line); -
main/trunk/greenstone2/perllib/colcfg.pm
r28701 r31396 177 177 q/archivedir|exportdir|cachedir|builddir|removeold|/ . 178 178 q/textcompress|buildtype|othogonalbuildtypes|no_text|keepold|gzip|/ . 179 q/verbosity|remove_empty_classifications|OIDtype|OIDmetadata| / .179 q/verbosity|remove_empty_classifications|OIDtype|OIDmetadata|oidtype|oidmetadata|/ . 180 180 q/groupsize|maxdocs|debug|mode|saveas|saveas_options|/ . 181 181 q/sortmeta|removesuffix|removeprefix|create_images|/ .
Note:
See TracChangeset
for help on using the changeset viewer.