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/incremental-rebuild.pl

    r20606 r20925  
    8585   
    8686    my $launch_cmd = "";
    87     if($ENV{'GSDLOS'} =~ m/windows/) {
    88     if($ENV{'PERLPATH'}) {
    89         # need to ensure that the path to perl is quoted (in case there's spaces in it)
     87    if($ENV{'PERLPATH'}) {
     88    # need to ensure that the path to perl is quoted (in case there's spaces in it)
     89    if($ENV{'GSDLOS'} =~ m/windows/) {
    9090        $launch_cmd = "\"$ENV{'PERLPATH'}\\Perl.exe\" -S ";
    9191    } else {
    92         $launch_cmd = "perl -S ";
     92        $launch_cmd = "\"$ENV{'PERLPATH'}/perl\" -S ";
    9393    }
     94    } else {
     95    $launch_cmd = "perl -S ";
    9496    }
    9597
Note: See TracChangeset for help on using the changeset viewer.