]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - pm_filter
Bring back the svnrepo setup file option. This is needed for recentchangediff to...
[git.ikiwiki.info.git] / pm_filter
index f61e7810b686cc8a1995134b9f8ed75ded158044..287adc376af82d8bc52897829ec353cd33584f82 100755 (executable)
--- a/pm_filter
+++ b/pm_filter
@@ -20,3 +20,6 @@ elsif (/^use lib/) {
                $_="use lib '$libdir';\n";
        }
 }
+elsif ($. == 1 && ($ENV{NOTAINT} || ! exists $ENV{NOTAINT}) && m{^(#!/usr/bin/perl) -T$}) {
+       $_=qq{$1\n};
+}