mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
#11742 correct pre 1.0 inkscape wrapper script path
(cherry picked from commit aec981bf41
)
This commit is contained in:
parent
38829ea517
commit
ebf85e52d2
@ -58,7 +58,7 @@ fi
|
||||
# this failed... so try PATH expansion to start the inkscape shell wrapper
|
||||
# Now continue the check with pre 1.0 inkscape application and the PATH
|
||||
IFS=":" read -ra DIRLIST <<< "${PATH}"
|
||||
for BINDIR in "/Applications/Inkscape.app/Contents/Resources" "${DIRLIST[@]}" ; do
|
||||
for BINDIR in "/Applications/Inkscape.app/Contents/Resources/bin" "${DIRLIST[@]}" ; do
|
||||
RESDIR=$(dirname "${BINDIR}")
|
||||
if [ -f "${RESDIR}"/bin/inkscape -a -x "${RESDIR}"/bin/inkscape ]; then
|
||||
startinkscape "${RESDIR}"/bin/inkscape "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user