Changeset 20943


Ignore:
Timestamp:
2009-11-16T11:42:51+13:00 (12 years ago)
Author:
mdewsnip
Message:

Fixed a bug causing "-records_per_folder 1" to fail miserably...

File:
1 edited

Legend:

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

    r20822 r20943  
    383383
    384384    # Check if we need to start a new directory for these records
    385     if (($record_number % $records_per_folder) == 1) {
     385    if ($records_per_folder == 1 || ($record_number % $records_per_folder) == 1) {
    386386    my $documents_directory = $exploded_base_dir;
    387387
Note: See TracChangeset for help on using the changeset viewer.