diff --git a/development/MacOSX/lyxeditor b/development/MacOSX/lyxeditor index b31687d1bf..d08cdd2cf8 100755 --- a/development/MacOSX/lyxeditor +++ b/development/MacOSX/lyxeditor @@ -55,7 +55,7 @@ do # See if it contains a \\serverpipe entry # Whether it does or not, break out of the loop because we've # found the preferences file. - LYXPIPE=`parse_serverpipe "${PREFERENCES}"` + LYXPIPE=$(parse_serverpipe "${PREFERENCES}") if [ -n "$LYXPIPE" -a -p "$LYXPIPE".in ]; then break fi @@ -77,11 +77,11 @@ test -z "${LYXPIPE}" && { # lyxrc.dist exists # See if it contains a \\serverpipe entry - LYXPIPE=`parse_serverpipe "${LYXRC_DIST}"` + LYXPIPE=$(parse_serverpipe "${LYXRC_DIST}") } if [ -n "$LYXPIPE" -a -p "$LYXPIPE".in ]; then - file=`echo "$1" | sed 's|^/private||'` + file=$(echo "$1" | sed 's|^/private||') MAC_LYXPIPE_CONTENTS="LYXCMD:macdvix:server-goto-file-row:$file $2" # echo "$MAC_LYXPIPE_CONTENTS"