response
parent
1030d23a2c
commit
46f8f72793
|
@ -5,6 +5,11 @@ It turns out that the filecheck plugin couldn't find the file, because it was me
|
||||||
> I don't understand why the file was not in `%pagesources`. Do you?
|
> I don't understand why the file was not in `%pagesources`. Do you?
|
||||||
> --[[Joey]]
|
> --[[Joey]]
|
||||||
|
|
||||||
|
>> The file *was* in `%pagesources`, but what returns from that is the filename relative to the `srcdir` directory; for example, `foo/bar.gif`.
|
||||||
|
>> When File::MimeInfo::Magic::magic is given that, it can't find the file.
|
||||||
|
>> But if it is given `/path/to/srcdir/foo/bar.gif` instead, then it *can* find the file, and returns the mime-type correctly.
|
||||||
|
>> --[[KathrynAndersen]]
|
||||||
|
|
||||||
The following patch fixes the problem:
|
The following patch fixes the problem:
|
||||||
|
|
||||||
diff --git a/IkiWiki/Plugin/filecheck.pm b/IkiWiki/Plugin/filecheck.pm
|
diff --git a/IkiWiki/Plugin/filecheck.pm b/IkiWiki/Plugin/filecheck.pm
|
||||||
|
|
Loading…
Reference in New Issue