Changeset 6331


Ignore:
Timestamp:
2003-12-19T15:09:34+13:00 (20 years ago)
Author:
jmt12
Message:

Buildcol.pl now takes the undocumented argument -gli which causes script output to include special 'tags' for gli to process. Such takes are language and verbosity level independant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/buildcol.pl

    r5882 r6331  
    239239    $debug, $mode, $indexname, $keepold, $allclassifications,
    240240    $create_images, $collectdir, $out, $buildtype, $textindex,
    241     $no_strip_html, $no_text, $faillog);
     241    $no_strip_html, $no_text, $faillog, $gli);
    242242
    243243    # ***** 11-04-03 - John Thompson *****
     
    265265             'no_strip_html', \$no_strip_html,
    266266             'faillog/.*/', \$faillog,
     267             'gli', \$gli,
    267268             q^xml^, \$xml)) {
    268269    &print_txt_usage($language);
     
    371372        $textindex = $collectcfg->{'textcompress'};
    372373    }
     374    if (defined $collectcfg->{'gli'} && $collectcfg->{'gli'} =~ /^true$/i) {
     375        $gli = 1;
     376    }
    373377   
    374378    } else {
    375379    die &lookup_string("{common.cannot_find_cfg_file}") . " $configfilename\n";
    376380    }
     381
     382    $gli = 0 unless defined $gli;
     383
     384    print STDERR "<Build>\n" if $gli;
    377385
    378386    #set the text index
     
    447455     "\$realarchivedir, \$realbuilddir, \$verbosity, " .
    448456     "\$maxdocs, \$debug, \$keepold, \$allclassifications, " .
    449      "\$out, \$no_text, \$faillog)");
     457     "\$out, \$no_text, \$faillog, \$gli)");
    450458    die "$@" if $@;
    451459
Note: See TracChangeset for help on using the changeset viewer.