summaryrefslogtreecommitdiff
path: root/pod/rofftoc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-11-26 22:20:30 +0100
committerNicholas Clark <nick@ccl4.org>2011-11-27 12:43:12 +0100
commitcf220710f187d33f81fc50e0e898134558c7bf62 (patch)
tree3085e6c267a9efe86585bb8ce7ba99b83d43956a /pod/rofftoc
parentdc456155af24d5c772439d33c322bd72cb0fcdfe (diff)
downloadperl-cf220710f187d33f81fc50e0e898134558c7bf62.tar.gz
In roffitall, explicitly use perl to run rofftoc.
Previously roffitall invoked rofftoc as ./rofftoc (implying a shell script), and in turn rofftoc used the "sh or perl" construction to cause sh to pass itself to perl. This was a bit obfuscated at the best of times, and broke completely when commit ff906f87ce151941 removed execute permission in 2010.
Diffstat (limited to 'pod/rofftoc')
-rw-r--r--pod/rofftoc4
1 files changed, 0 insertions, 4 deletions
diff --git a/pod/rofftoc b/pod/rofftoc
index a2d0e7ba20..341d30dae1 100644
--- a/pod/rofftoc
+++ b/pod/rofftoc
@@ -1,7 +1,3 @@
-# feed this into perl
- eval 'exec perl -S $0 ${1+"$@"}'
- if $running_under_some_shell;
-
# Usage: rofftoc PerlTOC.xxx.raw
#
# Post-processes roffitall output. Called from roffitall to produce