]> git.lyx.org Git - features.git/blobdiff - development/MacOSX/LyX.app/Contents/MacOS/lyxeditor
quote files for mac script (Bennett)
[features.git] / development / MacOSX / LyX.app / Contents / MacOS / lyxeditor
index 0583223e140f1714fb4fd9917ff776136d6ad1c0..bee481fec0acf252f706ae8e8ccb301e85246f5e 100755 (executable)
@@ -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