[LyX/master] additional check for default pipe locations used by active LyX instance

Stephan Witt switt at lyx.org
Sun Apr 19 10:52:45 UTC 2020


commit 4e9ecec3f6940419f0dd596eb985ee1a74c7ab5f
Author: Stephan Witt <switt at lyx.org>
Date:   Sun Apr 19 13:12:26 2020 +0200

    additional check for default pipe locations used by active LyX instance
---
 development/MacOSX/lyxeditor |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/development/MacOSX/lyxeditor b/development/MacOSX/lyxeditor
index 1cd3b76..9d6aabe 100755
--- a/development/MacOSX/lyxeditor
+++ b/development/MacOSX/lyxeditor
@@ -59,6 +59,11 @@ do
 	if [ -n "$LYXPIPE" -a -p "$LYXPIPE".in ]; then
 		break
 	fi
+	# now check for default pipe location
+	if [ -p "${ABS_USER_LYXDIR}"/.lyxpipe.in ]; then
+		LYXPIPE="${ABS_USER_LYXDIR}/.lyxpipe"
+		break
+	fi
 done
 
 # echo "preferences file sets lyxpipe as ${LYXPIPE}"


More information about the lyx-cvs mailing list