Changeset 29338

Show
Ignore:
Timestamp:
25.09.2014 20:06:22 (5 years ago)
Author:
ak19
Message:

Perlpath should not use the Config perl variable, since in the GS3 binary this resolves to something that is not even on the file system. Use the util::get_perl_exec() instead. This problem did not surface in the svn version so it wasn't detected until now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/perllib/solrbuilder.pm

    r29176 r29338  
    3232use lucenebuilder; 
    3333use solrserver; 
    34 use Config; # for getting the perlpath in the recommended way 
    3534 
    3635sub BEGIN { 
     
    5049    $self->{'solr_passes'} = "$solr_passes_script"; 
    5150    # Tack perl on the beginning to ensure execution 
    52     $self->{'solr_passes_exe'} = "\"$Config{perlpath}\" -S \"$solr_passes_script\""; 
     51    $self->{'solr_passes_exe'} = "\"".&util::get_perl_exec()."\" -S \"$solr_passes_script\""; 
    5352    return $self; 
    5453}