X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2a802c1518d2ef9b4340961c173b5b2d111c499a..1a4ba6cbcfb842f198d9b9215d51cf0b2af4241f:/pm_filter diff --git a/pm_filter b/pm_filter index 287adc376..a66cf2154 100755 --- a/pm_filter +++ b/pm_filter @@ -23,3 +23,6 @@ elsif (/^use lib/) { elsif ($. == 1 && ($ENV{NOTAINT} || ! exists $ENV{NOTAINT}) && m{^(#!/usr/bin/perl) -T$}) { $_=qq{$1\n}; } +if (/^\$ENV{PATH}="(.*)";/) { + $_="\$ENV{PATH}=\"$1:$prefix/bin\";\n"; +}