X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5bc73d7facbea81ae533777affaffbe3d7476c0f..32e4eb39a3a045ad6072102dbc46825821d797c3:/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}; +}