mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
#10762 don't hard-code the location of LyX bundle - use script path name for lyxrc.dist lookup
(cherry picked from commit 8cbed5ef4a
)
This commit is contained in:
parent
9b6cee5af4
commit
615afdc5a3
@ -64,7 +64,8 @@ done
|
|||||||
# echo "preferences file sets lyxpipe as ${LYXPIPE}"
|
# echo "preferences file sets lyxpipe as ${LYXPIPE}"
|
||||||
|
|
||||||
test -z "${LYXPIPE}" && {
|
test -z "${LYXPIPE}" && {
|
||||||
ABS_SYSTEM_LYXDIR='/Applications/LyX.app/Contents/Resources'
|
ABS_SYSTEM_LYXDIR=$(dirname "$0")
|
||||||
|
ABS_SYSTEM_LYXDIR=$(dirname "${ABS_SYSTEM_LYXDIR}")"/Resources"
|
||||||
test -d "${ABS_SYSTEM_LYXDIR}" || {
|
test -d "${ABS_SYSTEM_LYXDIR}" || {
|
||||||
echo "Failed to find ABS_SYSTEM_LYXDIR: ${ABS_SYSTEM_LYXDIR}" >&2
|
echo "Failed to find ABS_SYSTEM_LYXDIR: ${ABS_SYSTEM_LYXDIR}" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user