[LyX/master] #11742 correct pre 1.0 inkscape wrapper script path

Stephan Witt switt at lyx.org
Sun May 17 13:02:13 UTC 2020


commit aec981bf4161832083171ec34d34b8a32e27ace5
Author: Stephan Witt <switt at lyx.org>
Date:   Sun May 17 15:24:15 2020 +0200

    #11742 correct pre 1.0 inkscape wrapper script path
---
 development/MacOSX/inkscape |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/MacOSX/inkscape b/development/MacOSX/inkscape
index ff2f8d1..692f641 100755
--- a/development/MacOSX/inkscape
+++ b/development/MacOSX/inkscape
@@ -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 "$@"


More information about the lyx-cvs mailing list