Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix htmlscrubber_skip to be matched on the source page, not the page it is inlined...
[git.ikiwiki.info.git]
/
doc
/
todo
/
fortune:_select_options_via_environment.mdwn
diff --git
a/doc/todo/fortune:_select_options_via_environment.mdwn
b/doc/todo/fortune:_select_options_via_environment.mdwn
index f906312fe6ac883bdfba038bed17b49aee428a1e..ddacd91b526d157917bd5cc6a42271bee63d5745 100644
(file)
--- a/
doc/todo/fortune:_select_options_via_environment.mdwn
+++ b/
doc/todo/fortune:_select_options_via_environment.mdwn
@@
-14,9
+14,9
@@
package IkiWiki::Plugin::fortune;
use warnings;
package IkiWiki::Plugin::fortune;
use warnings;
- @@ -12,7 +18,13 @@ sub import {
#{{{
+ @@ -12,7 +18,13 @@ sub import {
- sub preprocess (@) {
#{{{
+ sub preprocess (@) {
$ENV{PATH}="$ENV{PATH}:/usr/games:/usr/local/games";
- my $f = `fortune 2>/dev/null`;
+ my $f;
$ENV{PATH}="$ENV{PATH}:/usr/games:/usr/local/games";
- my $f = `fortune 2>/dev/null`;
+ my $f;