Ignore:
Timestamp:
2009-11-10T20:52:58+13:00 (14 years ago)
Author:
oranfry
Message:

Since we can now have a Perl installation inside Greenstone on linux as well, full and incremental build and import perl scripts also launch perl with the -S flag in the Linux case now (not just in the Windows case anymore).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/full-rebuild.pl

    r19620 r20925  
    104104
    105105    my $launch_cmd = "";
    106     if($ENV{'GSDLOS'} =~ m/windows/) {
    107     if($ENV{'PERLPATH'}) {
    108         # need to ensure that the path to perl is quoted (in case there's spaces in it)
     106    if($ENV{'PERLPATH'}) {
     107    # need to ensure that the path to perl is quoted (in case there's spaces in it)
     108    if($ENV{'GSDLOS'} =~ m/windows/) {
    109109        $launch_cmd = "\"$ENV{'PERLPATH'}\\Perl.exe\" -S ";
    110110    } else {
    111         $launch_cmd = "perl -S ";
     111        $launch_cmd = "\"$ENV{'PERLPATH'}/perl\" -S ";
    112112    }
     113    } else {
     114    $launch_cmd = "perl -S ";
    113115    }
    114116   
Note: See TracChangeset for help on using the changeset viewer.