quote files for mac script (Bennett)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17257 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2007-02-19 20:15:43 +00:00
parent fc64045420
commit 86098c52f0

View File

@ -86,6 +86,7 @@ echo "Our best guess sets lyxpipe as ${LYXPIPE}"
file=`echo "$1" | sed 's|^/private||'`
echo "LYXCMD:macdvix:server-goto-file-row:"$file" $2"
echo LYXCMD:macdvix:server-goto-file-row:"$file" $2 > "${LYXPIPE}".in || exit
MAC_LYXPIPE_CONTENTS="LYXCMD:macdvix:server-goto-file-row:$file $2"
echo "$MAC_LYXPIPE_CONTENTS"
echo "$MAC_LYXPIPE_CONTENTS" > "${LYXPIPE}".in || exit
read < "${LYXPIPE}".out || exit