Changeset 16062


Ignore:
Timestamp:
2008-06-19T11:44:08+12:00 (16 years ago)
Author:
kjdon
Message:

added quotes around the java command - may have spaces in it esp on windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/lucene_query.pl

    r13774 r16062  
    6666    my $java = &get_java_path();
    6767    my $classpath = &util::filename_cat($ENV{'GSDLHOME'}, "bin", "java", "LuceneWrapper.jar");
    68     my $java_lucene = "$java -classpath \"$classpath\" org.greenstone.LuceneWrapper.GS2LuceneQuery";
     68    my $java_lucene = "\"$java\" -classpath \"$classpath\" org.greenstone.LuceneWrapper.GS2LuceneQuery";
    6969
    7070    my $cmd = "| " . $java_lucene . " \"" . $full_indexdir . "\"";
Note: See TracChangeset for help on using the changeset viewer.