Ignore:
Timestamp:
2016-05-11T14:54:37+12:00 (8 years ago)
Author:
ak19
Message:

Fix for getting solr collections to work with incremental-buildcol.pl (need to not delete the index folder when the index folder IS the buildng folder, as in the case of incremental building.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/activate.pl

    r30524 r30527  
    334334    }
    335335    elsif ($keepold || $incremental) {
    336     if ($buildtype eq "solr") {
     336    if ($buildtype eq "solr" && $build_dir ne $index_dir) {
    337337        # if solr, remove any cores that may be using the building_dir before moving this dir onto index
    338338        foreach my $corename (@corenames) {         
Note: See TracChangeset for help on using the changeset viewer.