diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-20 01:09:48 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-20 01:09:48 +0000 |
commit | 34f1c2aee8da0329aa0a50ac6b6bceb9dce7fefb (patch) | |
tree | 33f7f9275ca23cbb0454602d214b13a4111e7ce0 /pm_filter | |
parent | 11ac8f5e18bb18ddb86b47844e10f22e554bb4e7 (diff) |
* Allow setting NOTAINT=1 when building the wiki to remove taint checking
flags, which can be useful on some hosting providers.
Diffstat (limited to 'pm_filter')
-rwxr-xr-x | pm_filter | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -20,3 +20,6 @@ elsif (/^use lib/) { $_="use lib '$libdir';\n"; } } +elsif ($. == 1 && $ENV{NOTAINT} && m{^(#!/usr/bin/perl) -T$}) { + $_=qq{$1\n}; +} |