Ignore:
Timestamp:
2009-05-27T14:22:29+12:00 (15 years ago)
Author:
ak19
Message:

The full and incremental versions of import, build and rebuild now launch the local Windows perl executable with quotes around its path (in order to preserve any spaces in the path to the Perl exec.)

File:
1 edited

Legend:

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

    r19410 r19620  
    4242if($ENV{'GSDLOS'} =~ m/windows/) {
    4343    if($ENV{'PERLPATH'}) {
    44     $import_cmd = "$ENV{'PERLPATH'}\\Perl.exe -S $import_cmd";
     44    # need to ensure that the path to perl is quoted (in case there's spaces in it)
     45    $import_cmd = "\"$ENV{'PERLPATH'}\\Perl.exe\" -S $import_cmd";
    4546    } else {
    4647    $import_cmd = "perl -S $import_cmd";
     
    5657}
    5758
     59
     60
Note: See TracChangeset for help on using the changeset viewer.