summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakeaperl.SH4
1 files changed, 3 insertions, 1 deletions
diff --git a/makeaperl.SH b/makeaperl.SH
index bb266f4e34..6af94195d0 100755
--- a/makeaperl.SH
+++ b/makeaperl.SH
@@ -18,7 +18,9 @@ case "$0" in
esac
echo "Extracting makeaperl (with variable substitutions)"
$spitshell >makeaperl <<!GROK!THIS!
-#!$binexp/perl
+$startperl
+ eval 'exec perl -S \$0 "\$@"'
+ if 0;
!GROK!THIS!
$spitshell >>makeaperl <<'!NO!SUBS!'