diff options
Diffstat (limited to 'x2p/s2p.PL')
-rw-r--r-- | x2p/s2p.PL | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/x2p/s2p.PL b/x2p/s2p.PL index 6d9f8eebe5..d215781dae 100644 --- a/x2p/s2p.PL +++ b/x2p/s2p.PL @@ -29,8 +29,14 @@ print OUT <<"!GROK!THIS!"; $Config{startperl} eval 'exec $Config{perlpath} -S \$0 \${1+"\$@"}' if \$running_under_some_shell; -my \$startperl = '$Config{startperl}'; -my \$perlpath = '$Config{perlpath}'; +my $startperl; +my $perlpath; +(\$startperl = <<'/../') =~ s/\\s*\\z//; +$Config{startperl} +/../ +(\$perlpath = <<'/../') =~ s/\\s*\\z//; +$Config{perlpath} +/../ !GROK!THIS! # In the following, perl variables are not expanded during extraction. |