Show
Ignore:
Timestamp:
12.05.2009 17:29:56 (11 years ago)
Author:
ak19
Message:

Getting the incremental build scripts to work on Windows (it already works on the Vista here, but only because .pl files were associated with Perl).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/incremental-buildcol.pl

    r18511 r19409  
    3535    die "GSDLOS not set\n" unless defined $ENV{'GSDLOS'}; 
    3636    unshift (@INC, "$ENV{'GSDLHOME'}/perllib"); 
     37 
     38    # for windows, need PERLPATH in order to launch Perl 
     39    if($ENV{'GSDLOS'} =~ m/windows/) { 
     40     die "PERLPATH, which is required for Windows, is not set.\n" unless defined $ENV{'PERLPATH'}; 
     41    } 
    3742} 
    3843 
     
    104109 
    105110    my $buildcol_cmd = "buildcol.pl"; 
     111    if($ENV{'GSDLOS'} =~ m/windows/) { 
     112    $buildcol_cmd = "$ENV{'PERLPATH'}\\Perl.exe -S $buildcol_cmd"; 
     113    #$buildcol_cmd = "perl -S $buildcol_cmd"; 
     114    } 
    106115 
    107116    if (-e $build_cfg_filename) {