remove possibly unwritable lib/re.pm before overwrite
Larry Wall [Wed, 15 Jul 1998 14:26:03 +0000 (07:26 -0700)]
Message-Id: <199807152126.OAA04623@wall.org>
Subject: Re: bug encountered building perl5.005beta1

p4raw-id: //depot/perl@1544

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