bug 2924 fixed rebuild_zebra.pl to work when export is skipped

reindexing now occurs if there are $num_records_exported or if
$skip_export is set

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Brian Harrington 2009-03-02 16:08:13 -05:00 committed by Galen Charlton
parent be82512f01
commit 25cd35b3a1
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ sub index_records {
if $num_records_exported;
} else {
do_indexing($record_type, 'update', "$directory/$record_type", $reset, $noshadow, $record_fmt, $zebraidx_log_opt)
if $num_records_exported;
if ($num_records_exported or $skip_export);
}
}