Ignore:
Timestamp:
2009-05-12T17:29:56+12:00 (15 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).

File:
1 edited

Legend:

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

    r18470 r19409  
    3030# Runs:        buildcol.pl -removeold ...
    3131
     32BEGIN {
     33    die "GSDLOS not set\n" unless defined $ENV{'GSDLOS'};
     34    # for windows, need PERLPATH in order to launch Perl
     35    if($ENV{'GSDLOS'} =~ m/windows/) {
     36    die "PERLPATH, which is required for Windows, is not set.\n" unless defined $ENV{'PERLPATH'};
     37    }
     38}
    3239
    3340use strict;
     
    3744
    3845my $buildcol_cmd = "buildcol.pl -removeold $quoted_argv";
     46if($ENV{'GSDLOS'} =~ m/windows/) {
     47    $buildcol_cmd = "$ENV{'PERLPATH'}\\Perl.exe -S $buildcol_cmd";
     48    #$buildcol_cmd = "perl -S $buildcol_cmd";
     49}
    3950
    4051my $buildcol_status = system($buildcol_cmd)/256;
Note: See TracChangeset for help on using the changeset viewer.