[OS X] account name ($HOME) containing a space - Inkscape.app can't create $HOME/.inkscape-etc?
Can any Mac OS X user and shell guru have a look at Question #70444 "I have tried everything everyone said but still can't get Inkscape working on my iMac" https://answers.launchpad.net/inkscape/+question/70444?
log:
imac:~ John Doe$ /Applications/Inkscape.app/Contents/Resources/openDoc ; exit; mkdir: /Users/John: Permission denied /Applications/Inkscape.app/Contents/Resources/bin/inkscape: line 69: /Users/John Doe/.inkscape-etc/pangorc: No such file or directory
my interpretation:
the issue:
mkdir -p ${HOME}/.inkscape-etc
expands to
mkdir -p /Users/John Doe/.inkscape-etc
which in turn is read as two seperate arguments:
mkdir -p /Users/John mkdir -p Doe/.inkscape/etc
If this is true, there's definitely a small bug in the shell script 'Inkscape.app/Contents/Resources/bin/inkscape': ${HOME} needs to be escaped with quotes (a guess - I'm not an expert in shell scripts either).
I'm still not sure if this is a bug in Inkscape.app or the result of a specific user account/shell environment configuration?
~suv
participants (1)
-
~suv