[LyX/master] #11742 use Inkscape 0.92.x converter from Resources of application bundle if detected - corrected shell syntax
Stephan Witt
switt at lyx.org
Tue May 19 06:32:51 UTC 2020
commit dfb33eb5690e65abc773a1a8c6bc17386f6be212
Author: Stephan Witt <switt at lyx.org>
Date: Tue May 19 08:54:57 2020 +0200
#11742 use Inkscape 0.92.x converter from Resources of application bundle if detected - corrected shell syntax
---
development/MacOSX/inkscape | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/development/MacOSX/inkscape b/development/MacOSX/inkscape
index b57fda5..4865fde 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
More information about the lyx-cvs
mailing list