Ignore:
Timestamp:
2011-06-22T17:39:13+12:00 (13 years ago)
Author:
ak19
Message:

Sam discovered that using dollar-Config{perlpath} in place of dollar-hat-X is the better way to obtain the path to the perl that is being used. We hope this will not be a relative path on the Mac as dollar-hat-x was on Professor Witten's Mac when we tried it there today.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/lucenebuilder.pm

    r24126 r24192  
    4444use strict;
    4545no strict 'refs';
    46 
     46use Config; # for getting the perlpath in the recommended way
    4747
    4848sub BEGIN {
     
    8282    else
    8383    {
    84     $self->{'full_lucene_passes_exe'} = "\"$^X\" -S \"$lucene_passes_script\"";
     84    $self->{'full_lucene_passes_exe'} = "\"$Config{perlpath}\" -S \"$lucene_passes_script\"";
    8585    }
    8686
Note: See TracChangeset for help on using the changeset viewer.