From: Stephan Witt Date: Tue, 19 May 2020 06:54:57 +0000 (+0200) Subject: #11742 use Inkscape 0.92.x converter from Resources of application bundle if detected... X-Git-Tag: 2.3.5~22 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=498e4dcd040aa333dd18076fe8da415e6b9a98b0;p=features.git #11742 use Inkscape 0.92.x converter from Resources of application bundle if detected - corrected shell syntax (cherry picked from commit dfb33eb5690e65abc773a1a8c6bc17386f6be212) --- diff --git a/development/MacOSX/inkscape b/development/MacOSX/inkscape index b57fda5667..4865fde091 100755 --- a/development/MacOSX/inkscape +++ b/development/MacOSX/inkscape @@ -52,7 +52,7 @@ startinkscape() { # at first try the well known location for Inkscape 1.0 # but check for Inkscape 0.92.x too and skip this if it's in Resources RESDIR="/Applications/Inkscape.app/Contents/MacOS" -if [ !f "/Applications/Inkscape.app/Contents/Resources/bin/inkscape" -a -f "${RESDIR}"/inkscape -a -x "${RESDIR}"/inkscape ]; then +if [ ! -f "/Applications/Inkscape.app/Contents/Resources/bin/inkscape" -a -f "${RESDIR}"/inkscape -a -x "${RESDIR}"/inkscape ]; then startinkscape "${RESDIR}"/inkscape "$@" exit 0 fi