diff options
Diffstat (limited to 'utils/pl2pm.PL')
-rw-r--r-- | utils/pl2pm.PL | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/pl2pm.PL b/utils/pl2pm.PL index 60e66f824d..8d47481341 100644 --- a/utils/pl2pm.PL +++ b/utils/pl2pm.PL @@ -25,9 +25,9 @@ print "Extracting $file (with variable substitutions)\n"; # You can use $Config{...} to use Configure variables. print OUT <<"!GROK!THIS!"; -$Config{'startperl'} - eval 'exec perl -S \$0 "\$@"' - if 0; +$Config{startperl} + eval 'exec $Config{perlpath} -S \$0 \${1+"\$@"}' + if \$running_under_some_shell; !GROK!THIS! # In the following, perl variables are not expanded during extraction. |