diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-04-28 13:44:37 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-04-28 13:44:37 -0400 |
commit | 9f02ee863454693dce8fcb209c28c1d2efa0ff77 (patch) | |
tree | a92e269a75abddee4d19aaaa6531021517dc21c5 /pm_filter | |
parent | aa4f9fe23208bd95d248f0a5d7a3ee5fdefedb45 (diff) | |
download | ikiwiki-9f02ee863454693dce8fcb209c28c1d2efa0ff77.tar ikiwiki-9f02ee863454693dce8fcb209c28c1d2efa0ff77.tar.gz |
Add PREFIX/bin to the hardcoded PATH within ikiwiki.
Diffstat (limited to 'pm_filter')
-rwxr-xr-x | pm_filter | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"; +} |