Mailing List Archive

svn commit: r1673670 - /perl/modperl/trunk/lib/ModPerl/Manifest.pm
Author: stevehay
Date: Wed Apr 15 07:58:01 2015
New Revision: 1673670

URL: http://svn.apache.org/r1673670
Log:
Fix "(n)make dist" to work on Windows

The MANIFEST file was being written with backslashes which seems to break maniread/manicopy! It also failed to match the list of files at the end of lib/ModPerl/Manifest.pm to be skipped from the distribution tarball.

Modified:
perl/modperl/trunk/lib/ModPerl/Manifest.pm

Modified: perl/modperl/trunk/lib/ModPerl/Manifest.pm
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/lib/ModPerl/Manifest.pm?rev=1673670&r1=1673669&r2=1673670&view=diff
==============================================================================
--- perl/modperl/trunk/lib/ModPerl/Manifest.pm (original)
+++ perl/modperl/trunk/lib/ModPerl/Manifest.pm Wed Apr 15 07:58:01 2015
@@ -47,7 +47,8 @@ sub get_svn_files {
if ($line =~ /(?:\d+)\s+(?:\d+)\s+(?:\w+)\s+(.*)\s*/) {
my $file = $1;
if (-e $file && ! -d $file) {
- push @files, $1 if -e $1;
+ $file =~ s{\\}{/}g;
+ push @files, $file;
}
}
}