summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-07-10 23:27:18 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-07-10 23:27:18 +0000
commit14ee6a0a4e91958442c75ae3fa016d5431833702 (patch)
treed38b8a844cd2085b42e6ab21b4ea196583a726c4
parent07f049cb527099650c0a61148a7ab92f6e3d4396 (diff)
downloadperl-14ee6a0a4e91958442c75ae3fa016d5431833702.tar.gz
Delete old version of target before generating new one
-rw-r--r--writemain.SH1
-rwxr-xr-xx2p/cflags.SH1
2 files changed, 2 insertions, 0 deletions
diff --git a/writemain.SH b/writemain.SH
index 4884a387a1..66d14a16ce 100644
--- a/writemain.SH
+++ b/writemain.SH
@@ -21,6 +21,7 @@ echo "Extracting writemain (with variable substitutions)"
: Move anything that needs config subs from !NO!SUBS! section to !GROK!THIS!.
: Protect any dollar signs and backticks that you do not want interpreted
: by putting a backslash in front. You may delete these comments.
+rm -f writemain
$spitshell >writemain <<!GROK!THIS!
$startsh
!GROK!THIS!
diff --git a/x2p/cflags.SH b/x2p/cflags.SH
index 531ef65805..a781a7302e 100755
--- a/x2p/cflags.SH
+++ b/x2p/cflags.SH
@@ -21,6 +21,7 @@ echo "Extracting x2p/cflags (with variable substitutions)"
: Move anything that needs config subs from !NO!SUBS! section to !GROK!THIS!.
: Protect any dollar signs and backticks that you do not want interpreted
: by putting a backslash in front. You may delete these comments.
+rm -f cflags
$spitshell >cflags <<!GROK!THIS!
!GROK!THIS!