From: Tomi Ollila Date: Fri, 20 Jan 2012 10:59:20 +0000 (+0200) Subject: trivial s/$@/"$@"/ change in remoteusage.mdwn X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=c702f59de78c3103876923c58145a16acb82cf4e trivial s/$@/"$@"/ change in remoteusage.mdwn --- diff --git a/remoteusage.mdwn b/remoteusage.mdwn index d70a868..33a0cf2 100644 --- a/remoteusage.mdwn +++ b/remoteusage.mdwn @@ -69,7 +69,7 @@ future calls can reuse the socket. create_socket_dir () { - mkdir "${SOCKET_DIR}" + mkdir "${SOCKET_DIR}" chmod 700 "${SOCKET_DIR}" } @@ -103,7 +103,7 @@ future calls can reuse the socket. $SSH_BIN -S $SSH_SOCKET $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN ${ARGS} } - notmuch_run $@ + notmuch_run "$@" Save this to a file, "remote-notmuch.sh", in your path.