Show
Ignore:
Timestamp:
03.08.2011 21:17:30 (8 years ago)
Author:
ak19
Message:

The method of locating perl has changed once more: util now defines the fuction get_perl_exec which is used by other scripts to obtain the path to the perl executable they should use.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/ConvertBinaryFile.pm

    r24360 r24362  
    4444no strict 'refs'; # allow filehandles to be variables and viceversa 
    4545no strict 'subs'; 
    46 use Config; # for getting the perlpath in the recommended way 
     46use util; 
    4747 
    4848 
     
    279279#    } 
    280280 
    281     my $cmd = "\"$Config{perlpath}\" -S gsConvert.pl -verbose $verbosity "; 
     281    my $cmd = "\"".&util::get_perl_exec()."\" -S gsConvert.pl -verbose $verbosity "; 
    282282    if (defined $self->{'convert_options'}) { 
    283283    $cmd .= $self->{'convert_options'} . " ";