Changeset 4766
- Timestamp:
- 2003-06-23T14:41:00+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/buildcol.pl
r3729 r4766 72 72 print STDOUT " -out Filename or handle to print output status to.\n"; 73 73 print STDOUT " The default is STDERR\n"; 74 print STDOUT " -buildtype mg|mgpp This will override the config file setting.\n";75 print STDOUT " (default is mg)\n";76 74 print STDOUT " -no_strip_html Do not strip the html tags from the indexed text\n"; 77 75 print STDOUT " (only used for mgpp collections).\n\n"; … … 110 108 'out/.*/STDERR', \$out, 111 109 'no_strip_html', \$no_strip_html, 112 'buildtype/^(mg|mgpp)$/', \$buildtype,113 110 'faillog/.*/', \$faillog)) { 114 111 &print_usage(); … … 153 150 } 154 151 } 155 if (defined $collectcfg->{'buildtype'} && $buildtype eq "") { 152 # we use searchtype for determining buildtype, but for old versions, use buildtype 153 if (defined $collectcfg->{'searchtype'}) { 154 $buildtype = "mgpp"; 155 } 156 elsif (defined $collectcfg->{'buildtype'}) { 156 157 $buildtype = $collectcfg->{'buildtype'}; 157 } 158 if ($buildtype eq "") { 159 $buildtype = "mg"; # mg is the default 158 } else { 159 $buildtype = "mg"; #mg is the default 160 160 } 161 161 if (defined $collectcfg->{'archivedir'} && $archivedir eq "") {
Note:
See TracChangeset
for help on using the changeset viewer.