Item12081: Insert a space into the shebang line of all scripts. Improves perlbrew usage.
Priority: Enhancement
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Engine
Component:
Branches: Release01x01 trunk
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