summaryrefslogtreecommitdiff
path: root/writemain.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-07-25 12:27:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-07-25 12:27:20 +0000
commitb233458bd1d5037ce4bbbb41fb513e1b68522a4d (patch)
treec536cfd69a2b5a6fd972074b496e5ef5473cc69c /writemain.SH
parent781b178c230df22350b5995b4bfdfeb294912a39 (diff)
downloadperl-b233458bd1d5037ce4bbbb41fb513e1b68522a4d.tar.gz
First steps of making builds outside the source
directory possible. These should get us as far as miniperl, then building DynaLoader falls into tiny twinkling pieces as MakeMaker knows nothing of VPATH mindset. p4raw-id: //depot/cfgperl@3735
Diffstat (limited to 'writemain.SH')
-rw-r--r--writemain.SH3
1 files changed, 2 insertions, 1 deletions
diff --git a/writemain.SH b/writemain.SH
index 18544c1f81..6c53602472 100644
--- a/writemain.SH
+++ b/writemain.SH
@@ -24,6 +24,7 @@ echo "Extracting writemain (with variable substitutions)"
rm -f writemain
$spitshell >writemain <<!GROK!THIS!
$startsh
+src=$src
!GROK!THIS!
: In the following dollars and backticks do not need the extra backslash.
@@ -55,7 +56,7 @@ for file in $orig ; do
done
-sed '/Do not delete this line--writemain depends on it/q' miniperlmain.c
+sed '/Do not delete this line--writemain depends on it/q' $src/miniperlmain.c
if test X"$args" != "X" ; then