Changeset 31953

Show
Ignore:
Timestamp:
07.09.2017 20:12:56 (3 months ago)
Author:
ak19
Message:

Bugfix to allow Depositor to still successfully build even when GS2 is installed in a path containing spaces

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/build

    r29380 r31953  
    519519    if ($append) { 
    520520    if ($indextype eq "lucene") { 
    521         $build_cmd .= " -keepold -incremental -builddir $indexdir"; 
     521        $build_cmd .= " -keepold -incremental -builddir \"$indexdir\""; 
    522522        $removeold = 0; 
    523523    } 
     
    534534    $build_cmd .= " -collectdir \"$collectdir\"" if $collectdir =~ /\w/; 
    535535    $build_cmd .= " $maxdocs $collection"; 
     536     
     537    ##print $out "Running command: |$build_cmd|\n\n"; 
     538     
    536539    system ($build_cmd); 
    537540    # if using output directory append the buildcol output to it