X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5bc73d7facbea81ae533777affaffbe3d7476c0f..9c87cc0d13424fc182097a82db47ea41e27cb328:/pm_filter diff --git a/pm_filter b/pm_filter index f61e7810b..a80ce04f0 100755 --- a/pm_filter +++ b/pm_filter @@ -20,3 +20,6 @@ elsif (/^use lib/) { $_="use lib '$libdir';\n"; } } +elsif ($. == 1 && $ENV{NOTAINT} && m{^(#!/usr/bin/perl) -T$}) { + $_=qq{$1\n}; +}