Item10060: rewriteshebang.pl rewrites shebang for bash & sh scripts

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: rewriteshebang.pl, Install
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: KennethLavrsen
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
 

ItemTemplate edit

Summary rewriteshebang.pl rewrites shebang for bash & sh scripts
ReportedBy GeorgeClark
Codebase 1.1.2
SVN Range
AppliesTo Engine
Component rewriteshebang.pl, Install
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:50e37c4f6a18 distro:4dcc4040de6d distro:941ba1052887 distro:d78bea325ecb
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r8 - 16 Apr 2011, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy