--- help2man-1.47.3.old/help2man.PL +++ help2man-1.47.3/help2man.PL @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # Self extracting help2man script. @@ -47,15 +47,7 @@ unless $opts{quiet}; # Add startup header. -print OUT "$Config{startperl} -w\n"; - -# For systems without the crash-bang hack also add: -print OUT <<"!GROK!THIS!" if $Config{sharpbang} !~ /^#!/; -eval 'exec $Config{perlpath} -wS \$0 \${1+"\$@"}' - if \$running_under_some_shell; - -\$running_under_some_shell = 0; # for -w -!GROK!THIS! +print OUT "#!/usr/bin/env perl\n"; # No substitutions for this chunk: print OUT <<'!NO!SUBS!';