]> git.lyx.org Git - features.git/commitdiff
#11742 correct pre 1.0 inkscape wrapper script path
authorStephan Witt <switt@lyx.org>
Sun, 17 May 2020 13:24:15 +0000 (15:24 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 May 2020 11:20:41 +0000 (13:20 +0200)
(cherry picked from commit aec981bf4161832083171ec34d34b8a32e27ace5)

development/MacOSX/inkscape

index ff2f8d1fb50d5857a9e53f97a65bc9c126387ba5..692f641428b9d4be43a96c917d526c93944e62b8 100755 (executable)
@@ -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 "$@"