Item10060: rewriteshebang.pl rewrites shebang for bash & sh scripts
Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: rewriteshebang.pl,
Install
Branches:
Rewriteshebang.pl
has the same issue as Configure - it also changes non-perl shebang lines to perl.
Refactor
rewriteshebang.pl
a bit to use
Foswiki::Configure::Util::rewriteShebang
--
GeorgeClark - 20 Nov 2010
Probably should have opened a 2nd task, but the script fails on my system - regex matching the path is too strict, and fails with numeric directories used by Strawberry perl. Fixing regex to be more accepting of the path.
--
GeorgeClark - 20 Nov 2010