Changeset 12128


Ignore:
Timestamp:
2006-07-10T16:49:10+12:00 (18 years ago)
Author:
kjdon
Message:

output_collection_meta now outputs an empty [collection] entry to gdbm database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/basebuilder.pm

    r11994 r12128  
    346346    # not in the config file
    347347    $self->output_collection_meta($handle);
    348 
    349348    &plugin::read ($self->{'pluginfo'}, $self->{'source_dir'},
    350349           "", {}, $self->{'buildproc'}, $self->{'maxdocs'},0, $self->{'gli'});
     
    533532}
    534533
    535 # default is to do nothing
     534# default is to output an empty [collection] entry
    536535sub output_collection_meta {
    537536    my $self = shift(@_);
    538537    my ($handle) = @_;
     538   
     539    print $handle "[collection]\n". ('-' x 70) . "\n";;
     540
    539541
     542
    540543sub print_stats {
    541544    my $self = shift (@_);
Note: See TracChangeset for help on using the changeset viewer.