diff --git a/pm_filter b/pm_filter index 6c745e1f8..98cb5bd9e 100755 --- a/pm_filter +++ b/pm_filter @@ -23,6 +23,6 @@ elsif (/^use lib/) { elsif ($. == 1 && ($ENV{NOTAINT} || ! exists $ENV{NOTAINT}) && m{^(#!.*perl.*?) -T$}) { $_=qq{$1\n}; } -if (/^\$ENV{PATH}="(.*)";/) { +elsif (/^\$ENV{PATH}="(.*)";/) { $_="\$ENV{PATH}=\"$1:$prefix/bin\";\n"; }