]> sipb.mit.edu Git - ikiwiki.git/blobdiff - pm_filter
response
[ikiwiki.git] / pm_filter
index 287adc376af82d8bc52897829ec353cd33584f82..a66cf215470f330f7bf9fb7c7b1a808472fea206 100755 (executable)
--- 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";
+}