diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-27 14:42:20 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-27 14:42:20 +0000 |
commit | 083047a8d2bab13d11d5e1a81572c22f0576976a (patch) | |
tree | 4afd34d8e49d84a495e641627e8f89958f21a2d9 /fix_pl | |
parent | e82e08d5403019ee247cbb11863a873d8451479b (diff) | |
download | perl-083047a8d2bab13d11d5e1a81572c22f0576976a.tar.gz |
Do away with the fix_pl.
p4raw-id: //depot/perl@7458
Diffstat (limited to 'fix_pl')
-rw-r--r-- | fix_pl | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/fix_pl b/fix_pl deleted file mode 100644 index 44c3f52170..0000000000 --- a/fix_pl +++ /dev/null @@ -1,21 +0,0 @@ -#!perl -# Not fixing perl, but fixing the patchlevel if this perl comes -# from the repository rather than an official release -exit unless -e ".patch"; -open PATCH, ".patch" or die "Couldn't open .patch: $!"; -open PLIN, "patchlevel.h" or die "Couldn't open patchlevel.h : $!"; -open PLOUT, ">patchlevel.new" or die "Couldn't write on patchlevel.new : $!"; -my $pl = <PATCH>; -chomp ($pl); -$pl =~ s/\D//g; -my $seen=0; -while (<PLIN>) { - if (/\t,NULL/ and $seen) { - print PLOUT "\t,\"devel-$pl\"\n"; - } - $seen++ if /local_patches\[\]/; - print PLOUT; -} -close PLOUT; close PLIN; -rename "patchlevel.new", "patchlevel.h" or die "Couldn't rename: $!"; -unlink ".patch"; |