aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-29 18:07:20 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-29 18:07:20 -0500
commit9e15bd27eaae39c2bbfa4aa4c00e1a7b043c70b9 (patch)
tree6c4ae6051e508e7e84f59005f92ffa78f545c677 /IkiWiki
parent7125c7269afca4a76dc24d5475d20986e8b99722 (diff)
downloadikiwiki-9e15bd27eaae39c2bbfa4aa4c00e1a7b043c70b9.tar
ikiwiki-9e15bd27eaae39c2bbfa4aa4c00e1a7b043c70b9.tar.gz
avoid temp var
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index a42cdc422..be5af84ba 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -378,8 +378,7 @@ sub refresh () { #{{{
if (isinternal($page)) {
push @internal, $file;
# Preprocess internal page in scan-only mode.
- my $content=readfile(srcfile($file));
- preprocess($page, $page, $content, 1);
+ preprocess($page, $page, readfile(srcfile($file)), 1);
}
else {
push @needsbuild, $file;