Changeset 31953


Ignore:
Timestamp:
09/07/17 20:12:56 (3 years ago)
Author:
ak19
Message:

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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.