summaryrefslogtreecommitdiff
path: root/opcode.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-10 05:31:00 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-10 05:31:00 +0000
commit24600adc4a7b8d0320458f5125c21c1645dc6bd4 (patch)
tree01de9e62b6d29b30b6d88ddc698b51070a7f0e6a /opcode.pl
parent1ff4263c2be000d5dd4e3ae4643d6c34358e9dce (diff)
downloadperl-24600adc4a7b8d0320458f5125c21c1645dc6bd4.tar.gz
Remove the foo-old files.
p4raw-id: //depot/perl@18875
Diffstat (limited to 'opcode.pl')
-rwxr-xr-xopcode.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/opcode.pl b/opcode.pl
index 4035cc6002..c44ff3f51d 100755
--- a/opcode.pl
+++ b/opcode.pl
@@ -336,6 +336,12 @@ foreach ('pp_proto.h', 'pp.sym') {
safer_rename $pp_proto_new, 'pp_proto.h';
safer_rename $pp_sym_new, 'pp.sym';
+END {
+ foreach ('opcode.h', 'opnames.h', 'pp_proto.h', 'pp.sym') {
+ 1 while unlink "$_-old";
+ }
+}
+
###########################################################################
sub tab {
local($l, $t) = @_;