Subject: | does not work for Test::Simple |
MY->fixin affects t/*.t files in Test-Simple, and this cause failure of
make test.
Subject: | cpan2rpm-2.028.fixin.patch |
diff -urN cpan2rpm-2.028.orig/cpan2rpm cpan2rpm-2.028/cpan2rpm
--- cpan2rpm-2.028.orig/cpan2rpm 2005-06-18 14:06:54.000000000 +0900
+++ cpan2rpm-2.028/cpan2rpm 2006-06-08 16:43:05.000000000 +0900
@@ -613,7 +613,7 @@
$info->{fixin} = <<EOF;
grep -rsl '^#!.*perl' . |
- grep -v '\.bak\$' |xargs --no-run-if-empty \\
+ grep -v '\\.bak\$\\|\\.t\$' |xargs --no-run-if-empty \\
%__perl -MExtUtils::MakeMaker -e 'MY->fixin(\@ARGV)'
EOF