avoid temp var

master
Joey Hess 2008-01-29 18:07:20 -05:00
parent 7125c7269a
commit 9e15bd27ea
1 changed files with 1 additions and 2 deletions

View File

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