Changeset 2766 for trunk/gsdl


Ignore:
Timestamp:
2001-10-02T10:11:11+12:00 (23 years ago)
Author:
sjboddie
Message:

minor bug fix

File:
1 edited

Legend:

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

    r2755 r2766  
    105105             'removeold', \$removeold,
    106106             'gzip', \$gzip,
    107              'groupsize/\d+/', \$groupsize,
     107             'groupsize/\d+/1', \$groupsize,
    108108             'OIDtype/^(hash|incremental)$/', \$OIDtype,
    109109             'sortmeta/.*/', \$sortmeta,
     
    223223        }
    224224    }
    225     if ($groupsize !~ /\d+/) {
    226         if (defined $collectcfg->{'groupsize'} && $collectcfg->{'groupsize'} =~ /\d+/ && $groupsize !~ /\d+/) {
     225    if ($groupsize == 1) {
     226        if (defined $collectcfg->{'groupsize'} && $collectcfg->{'groupsize'} =~ /\d+/) {
    227227        $groupsize = $collectcfg->{'groupsize'};
    228         } else {
    229         $groupsize = 1; # the default
    230228        }
    231229    }
Note: See TracChangeset for help on using the changeset viewer.