Commit Diff


commit - 270695a375c6af6579a26ccc62cef0be2b98a3e0
commit + 890362cd906d770a9ed8af92b2c281c113f9c18e
blob - 1cdf9604017edb0e7c5ffaae40eac7402c2975d6
blob + ae10febaf5a5454f532b0b0556276cf7fe984f0c
--- mkindex
+++ mkindex
@@ -84,7 +84,7 @@ sub copyfrom {
 	# there are probably faster ways to do this like File::Copy,
 	# but it bypasses the bufio cache...
 	open(my $pfh, '<', $path) or die "can't open $path: $!";
-	print $fh $_ while (<$pfh>);
+	print $fh $_ while <$pfh>;
 }
 
 sub renderpages {