summaryrefslogtreecommitdiff
path: root/pm_filter
diff options
context:
space:
mode:
Diffstat (limited to 'pm_filter')
-rwxr-xr-xpm_filter3
1 files changed, 3 insertions, 0 deletions
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";
+}