additional check for default pipe locations used by active LyX instance

This commit is contained in:
Stephan Witt 2020-04-19 13:12:26 +02:00
parent 4e14bf7028
commit 4e9ecec3f6

View File

@ -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}"