Changeset 5331


Ignore:
Timestamp:
06/18/09 11:48:10 (3 years ago)
Author:
azawawi
Message:

[tools] release.pl now works on win32. nice! szabgab++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/release.pl

    r5316 r5331  
    3030my $start_dir = Cwd::cwd(); 
    3131 
    32 my ($URL) = grep {/^URL:\s*/} qx{LC_ALL=C svn info}; 
     32my @svn_info = ($^O ne 'MSWin32') ? qx{LC_ALL=C svn info} : qx{svn info}; 
     33my ($URL) = grep {/^URL:\s*/} @svn_info; 
    3334die "no url" if not $URL; 
    3435chomp $URL; 
     
    8889if(-f "Build.PL") { 
    8990    $makefile_pl = "Build.PL"; 
    90     $make = "./Build"; 
     91    $make = ($^O ne 'MSWin32') ? "./Build" : "Build.bat"; 
    9192} 
    9293_system("$^X $makefile_pl"); 
Note: See TracChangeset for help on using the changeset viewer.