23 Feb
2015
23 Feb
'15
3:35 a.m.
On Sat, Feb 21, 2015 at 08:40:57PM +0100, Martin Sluka wrote:
Why is ImageMagick trying to load JPG coder at /usr/local/Cellar/imagemagick/6.8.8-9/lib/ImageMagick//modules-Q16/coders/jpeg.la? Why the double slash after ImageMagick// ?
Repeating a slash (any number of times) in a Unix filename is generally ignored (the OS itself should ignore it, though programs which parse filenames might not be written with the possibility in mind). A doubled slash often arises from building a path like: directory + '/' + relative_path when directory already has a trailing '/'. Cheers, Olly