[LyX/2.3.x] #11742 correct pre 1.0 inkscape wrapper script path

Juergen Spitzmueller spitz at lyx.org
Mon May 18 11:06:23 UTC 2020


commit ebf85e52d2c73328f473a83677b96ea4fb1972af
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
    
    (cherry picked from commit aec981bf4161832083171ec34d34b8a32e27ace5)
---
 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