X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/aa4f9fe23208bd95d248f0a5d7a3ee5fdefedb45..9f02ee863454693dce8fcb209c28c1d2efa0ff77:/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"; +}