diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-05-22 13:45:38 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-05-22 13:46:07 -0400 |
commit | 7825960d310977d1ae6fd9ab31d76b611c0f91e8 (patch) | |
tree | 30a601bec7e94e842b74a08248138878ce44e46d /pm_filter | |
parent | 6e6e37b4fc682a7df79d383cb01437738831cd1b (diff) | |
download | ikiwiki-7825960d310977d1ae6fd9ab31d76b611c0f91e8.tar ikiwiki-7825960d310977d1ae6fd9ab31d76b611c0f91e8.tar.gz |
remove -T from ikiwiki.in, add back if NOTAINT=0
Diffstat (limited to 'pm_filter')
-rwxr-xr-x | pm_filter | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"; |