Show
Ignore:
Timestamp:
11.05.2016 14:54:37 (4 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.)

Files:
1 modified

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) {