Comment 2 for bug 1449251

Revision history for this message
su_v (suv-lp) wrote :

On 2015-04-27 22:33 (+0200), Julian Gilbey wrote:
> My guess is that somewhere the binary is doing a chdir, but why is
> beyond me.

It's not in the binary - it has to be done in one of the wrapper shell scripts (which one varies - in 0.48, it was in Contents/Resources/script, with 0.91 it is in Contents/Resources/bin/inkscape), and it is required because of the current limited relocation support in Inkscape itself (if compiled for an osx application bundle, relocation support is implemented by enforcing looking up the path to the required Inkscape resource files via a relative path starting at the top-level of the application bundle).