You are here: Foswiki>Tasks Web>Item12081 (02 Dec 2012, GeorgeClark)Edit Attach

Item12081: Insert a space into the shebang line of all scripts. Improves perlbrew usage.

pencil
Priority: Enhancement
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Engine
Component:
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
rewriteshebang.pl and the configure extensions installer both insert a space into the shebang. #! /usr/bin/perl -wT however the scripts we ship do not include the space.

When using rewriteshebang.pl to restore the default /usr/bin/perl it ends up modifying all scripts in the distribution.

Also a couple of scripts were found to have the invalid #!perl line. Since the shell requires an absolute path to the perl executable, this won't work.

Update all scripts to have a consistent #! /usr/bin/perl -wT (or -w as appropriate)


Also, add a message to the Unit Test report, showing the version of perl used for the tests.

-- GeorgeClark - 25 Sep 2012

ItemTemplate edit

Summary Insert a space into the shebang line of all scripts. Improves perlbrew usage.
ReportedBy GeorgeClark
Codebase 1.1.5, trunk
SVN Range
AppliesTo Engine
Component
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:e04c058c3913 distro:fe4bf6e36ad1 distro:5e00ba4d7224 distro:20c855497f6a
TargetRelease patch
ReleasedIn 1.1.6
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:e04c058c3913 distro:5e00ba4d7224
Release01x01Checkins distro:fe4bf6e36ad1 distro:20c855497f6a
Topic revision: r9 - 02 Dec 2012, GeorgeClark
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