3 # A script to check a local copy against bleadperl, generating a blead
4 # patch if they're out of sync. An optional directory argument will
5 # be chdir()-ed into before comparing.
8 chdir shift() if @ARGV;
10 my $blead = "~/Downloads/perl/bleadperl";
13 diff( "$blead/lib/ExtUtils/CBuilder.pm", "lib/ExtUtils/CBuilder.pm");
15 diff( "$blead/lib/ExtUtils/CBuilder", "lib/ExtUtils/CBuilder",
18 diff( "$blead/lib/ExtUtils/CBuilder/t", "t",
21 ######################
23 my ($first, $second, @skip) = @_;
24 local $_ = `diff -ur $first $second`;
27 s/^Only in .* $x\n//mg;