projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
736fa37
)
if NOTAINT is not set, disable tainting
author
Joey Hess
<joey@kodama.kitenet.net>
Sun, 24 Feb 2008 21:01:10 +0000
(16:01 -0500)
committer
Joey Hess
<joey@kodama.kitenet.net>
Sun, 24 Feb 2008 21:01:10 +0000
(16:01 -0500)
pm_filter
patch
|
blob
|
history
diff --git
a/pm_filter
b/pm_filter
index a80ce04f0e7b015540df972a9356805a13b8323d..287adc376af82d8bc52897829ec353cd33584f82 100755
(executable)
--- a/
pm_filter
+++ b/
pm_filter
@@
-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};
}