summaryrefslogtreecommitdiff
path: root/pm_filter
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-20 01:09:48 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-20 01:09:48 +0000
commit34f1c2aee8da0329aa0a50ac6b6bceb9dce7fefb (patch)
tree33f7f9275ca23cbb0454602d214b13a4111e7ce0 /pm_filter
parent11ac8f5e18bb18ddb86b47844e10f22e554bb4e7 (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-xpm_filter3
1 files changed, 3 insertions, 0 deletions
diff --git a/pm_filter b/pm_filter
index f61e7810b..a80ce04f0 100755
--- a/pm_filter
+++ b/pm_filter
@@ -20,3 +20,6 @@ elsif (/^use lib/) {
$_="use lib '$libdir';\n";
}
}
+elsif ($. == 1 && $ENV{NOTAINT} && m{^(#!/usr/bin/perl) -T$}) {
+ $_=qq{$1\n};
+}