From 7825960d310977d1ae6fd9ab31d76b611c0f91e8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 22 May 2009 13:45:38 -0400 Subject: remove -T from ikiwiki.in, add back if NOTAINT=0 --- pm_filter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pm_filter') diff --git a/pm_filter b/pm_filter index 4984f32d9..1e51f9dd3 100755 --- a/pm_filter +++ b/pm_filter @@ -25,8 +25,8 @@ elsif (/^use lib/) { $_="use lib '$libdir';\n"; } } -elsif ($. == 1 && ($ENV{NOTAINT} || ! exists $ENV{NOTAINT}) && m{^(#!.*perl.*?) -T$}) { - $_=qq{$1\n}; +elsif ($. == 1 && ($ENV{NOTAINT}=0) && m{^(#!.*perl.*?)$}) { + $_=qq{$1 -T\n}; } elsif (/^\$ENV{PATH}="(.*)";/) { $_="\$ENV{PATH}=\"$1:$prefix/bin\";\n"; -- cgit v1.2.3