### fix installperl, so these files get installed by other utils
### ./installperl: return if $name =~
- ### /^(?:cpan|instmodsh|prove|corelist|ptar|ptardiff|config_data)\z/;
+ ### /^(?:cpan|instmodsh|prove|corelist|ptar|ptardiff)\z/;
{ my $file = 'installperl';
### not there already?
push @NewFiles, $file;
}
- ### add an entry to utils/Makefile.SH for $bin
- { my $file = "utils/Makefile.SH";
+ ### add an entry to utils/Makefile.PL for $bin
+ { my $file = "utils/Makefile.PL";
### not there already?
unless( `grep $bin $Repo/$file` ) {
### update the manifest
{ my $file = $Repo . '/MANIFEST';
my @manifest;
- { open my $fh, "<$file" or die "Could not open $file: $!";
+ { open my $fh, '<', $file or die "Could not open $file: $!";
@manifest = <$fh>;
close $fh;
}
push @manifest, values %pkg_files;
{ chmod 0644, $file;
- open my $fh, ">$file" or die "Could not open $file for writing: $!";
+ open my $fh, '>', $file or die "Could not open $file for writing: $!";
#print $fh sort { lc $a cmp lc $b } @manifest;
### XXX stolen from pod/buildtoc:sub do_manifest
print $fh