summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-23 19:36:31 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-23 19:36:31 +0000
commitba0d82e7ea655b47683097f142e73fd29b684f47 (patch)
treec2b3c6a18bf474175ecce21b135d6bb01146e651 /IkiWiki
parent913896f312f7689753f56157934529d3a4bce8d5 (diff)
* Patch from HenrikBrixAndersen to fix a broken use of foreach in the
search plugin.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/search.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm
index 70d05d5a0..61e9214e6 100644
--- a/IkiWiki/Plugin/search.pm
+++ b/IkiWiki/Plugin/search.pm
@@ -64,8 +64,9 @@ sub change (@) { #{{{
debug(gettext("updating hyperestraier search index"));
estcmd("gather -cm -bc -cl -sd",
map {
- Encode::encode_utf8($config{destdir}."/".$_)
- foreach @{$renderedfiles{pagename($_)}};
+ map {
+ Encode::encode_utf8($config{destdir}."/".$_)
+ } @{$renderedfiles{pagename($_)}};
} @_
);
estcfg();