diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-02-24 16:01:10 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-02-24 16:01:10 -0500 |
commit | 2a802c1518d2ef9b4340961c173b5b2d111c499a (patch) | |
tree | 13d583e864838b90c73304ce7504abe1a9aac5f9 | |
parent | 736fa378c586176473d08b24db4e284d629fc8b4 (diff) |
if NOTAINT is not set, disable tainting
-rwxr-xr-x | pm_filter | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,6 +20,6 @@ elsif (/^use lib/) { $_="use lib '$libdir';\n"; } } -elsif ($. == 1 && $ENV{NOTAINT} && m{^(#!/usr/bin/perl) -T$}) { +elsif ($. == 1 && ($ENV{NOTAINT} || ! exists $ENV{NOTAINT}) && m{^(#!/usr/bin/perl) -T$}) { $_=qq{$1\n}; } |