This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
duping shared hask key scalars can use hek_dup
[perl5.git]
/
makeaperl.SH
diff --git
a/makeaperl.SH
b/makeaperl.SH
old mode 100755
(executable)
new mode 100644
(file)
index
d621e67
..
80c0f21
--- a/
makeaperl.SH
+++ b/
makeaperl.SH
@@
-1,4
+1,4
@@
-case $
CONFIG
in
+case $
PERL_CONFIG_SH
in
'')
if test -f config.sh; then TOP=.;
elif test -f ../config.sh; then TOP=..;
'')
if test -f config.sh; then TOP=.;
elif test -f ../config.sh; then TOP=..;
@@
-20,8
+20,8
@@
echo "Extracting makeaperl (with variable substitutions)"
rm -f makeaperl
$spitshell >makeaperl <<!GROK!THIS!
$startperl
rm -f makeaperl
$spitshell >makeaperl <<!GROK!THIS!
$startperl
- eval 'exec
perl -S \$0 "\$@"
'
- if
0
;
+ eval 'exec
$perlpath -S \$0 \${1+"\$@"}
'
+ if
\$running_under_some_shell
;
!GROK!THIS!
$spitshell >>makeaperl <<'!NO!SUBS!'
!GROK!THIS!
$spitshell >>makeaperl <<'!NO!SUBS!'