This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove possibly unwritable lib/re.pm before overwrite
[perl5.git] / Makefile.SH
index 260c235..851b788 100644 (file)
@@ -387,6 +387,7 @@ lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl minimod.pl lib/Config.pm
        sh mv-if-diff tmp $@
 
 lib/re.pm: ext/re/re.pm
+       rm -f $@
        cat ext/re/re.pm > $@
 
 $(plextract):  miniperl lib/Config.pm lib/re.pm