Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
truncate recentchangesdiffs after 200 lines
[git.ikiwiki.info.git]
/
pm_filter
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};
}