[Module-build-checkins] Module-Build/lib/Module/Build/Platform Windows.pm,1.27,1.28
Status: Beta
Brought to you by:
kwilliams
From: Ken W. <kwi...@us...> - 2006-02-17 03:11:51
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build/Platform In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18458/lib/Module/Build/Platform Modified Files: Windows.pm Log Message: Only add .bat suffixes when doing make_executable, not .cmd Index: Windows.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Platform/Windows.pm,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- Windows.pm 16 Feb 2006 04:32:08 -0000 1.27 +++ Windows.pm 17 Feb 2006 03:11:47 -0000 1.28 @@ -56,7 +56,7 @@ my $pl2bat = $self->{config}{pl2bat}; if ( defined($pl2bat) && length($pl2bat) ) { - my $ext= $ENV{PATHEXT}=~/\.CMD(\W|$)/i ? '.cmd' : '.bat'; + my $ext= '.bat'; foreach my $script (@_) { (my $script_bat = $script) =~ s/\.plx?//i; |