Add PREFIX/bin to the hardcoded PATH within ikiwiki.

master
Joey Hess 2008-04-28 13:44:37 -04:00
parent aa4f9fe232
commit 9f02ee8634
3 changed files with 6 additions and 0 deletions

1
debian/changelog vendored
View File

@ -3,6 +3,7 @@ ikiwiki (2.45) UNRELEASED; urgency=low
* toc: Add the table of contents at sanitize time, rather than at format
time. This allows the toc to be displayed when previewing an edit. It also
avoids headers in the page template from showing up in the toc.
* Add PREFIX/bin to the hardcoded PATH within ikiwiki.
-- Joey Hess <joeyh@debian.org> Sat, 26 Apr 2008 15:09:36 -0400

View File

@ -13,3 +13,5 @@ Please use full-path to installed "ikiwiki-transition" in the system() function
Maybe pm_filter can handle this.
ikiwiki installer already knows about PREFIX.
[[done]]

View File

@ -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";
}