Update of /cvsroot/module-build/Module-Build/lib/Module/Build/Platform
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2868/lib/Module/Build/Platform
Modified Files:
Windows.pm
Log Message:
Revert change to split_like_shell() method, and have read_modulebuildrc() returns a empty hash if the file isn't found or there are no matching actions.
Index: Windows.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Platform/Windows.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Windows.pm 31 Mar 2005 04:48:20 -0000 1.22
+++ Windows.pm 31 Mar 2005 06:03:09 -0000 1.23
@@ -76,8 +76,7 @@
# (mostly Randy), and there are a lot of regression tests, so we
# should feel free to adjust if desired.
- my ($self, @strings) = @_;
- local $_ = join( ' ', map {s/\s+$//; $_} @strings );
+ (my $self, local $_) = @_;
return @$_ if defined() && UNIVERSAL::isa($_, 'ARRAY');
|