aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-11-04 12:02:26 -0400
committerJoey Hess <joey@kitenet.net>2012-11-04 12:02:26 -0400
commit286026877d9e7d520cab5fde173585903b0d32a9 (patch)
tree5c04e00ccec8fa4e1e4a737a166958a0c4408436 /IkiWiki
parent3b120dd7677e0197aff9e0f73fe43427d3cc1f9c (diff)
downloadikiwiki-286026877d9e7d520cab5fde173585903b0d32a9.tar
ikiwiki-286026877d9e7d520cab5fde173585903b0d32a9.tar.gz
filecheck: Fix bug that prevented File::MimeInfo::Magic from ever being used.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/filecheck.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/filecheck.pm b/IkiWiki/Plugin/filecheck.pm
index 9992f2c26..cdea5c706 100644
--- a/IkiWiki/Plugin/filecheck.pm
+++ b/IkiWiki/Plugin/filecheck.pm
@@ -139,7 +139,7 @@ sub match_mimetype ($$;@) {
my $mimeinfo_ok=! $@;
my $mimetype;
if ($mimeinfo_ok) {
- my $mimetype=File::MimeInfo::Magic::magic($file);
+ $mimetype=File::MimeInfo::Magic::magic($file);
}
# Fall back to using file, which has a more complete