summaryrefslogtreecommitdiff
path: root/notmuch-tcp
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-11-24 20:14:07 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-11-24 20:14:07 +0100
commitf55aa62c7dd25d44b37985ef5f109eb8212f5ae7 (patch)
tree9d286ec3dc4bab784cf771cb891b524b60a3583c /notmuch-tcp
parentf28f4fc1bef6ebabb9c340c3fdfb92eee1423c5c (diff)
downloadutils-f55aa62c7dd25d44b37985ef5f109eb8212f5ae7.tar
utils-f55aa62c7dd25d44b37985ef5f109eb8212f5ae7.tar.gz
utils-f55aa62c7dd25d44b37985ef5f109eb8212f5ae7.tar.bz2
utils-f55aa62c7dd25d44b37985ef5f109eb8212f5ae7.tar.xz
utils-f55aa62c7dd25d44b37985ef5f109eb8212f5ae7.zip
fix paths
Diffstat (limited to 'notmuch-tcp')
-rwxr-xr-xnotmuch-tcp4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-tcp b/notmuch-tcp
index 71680d0..57da3f5 100755
--- a/notmuch-tcp
+++ b/notmuch-tcp
@@ -1,9 +1,9 @@
1#!@zsh@/bin/zsh 1#!@zsh@/bin/zsh
2 2
3NOTMUCH_TCP=${NOTMUCH_TCP:-2010} 3NOTMUCH_TCP=${NOTMUCH_TCP:-2010}
4HOST=${HOST:-$(@nettools/bin/hostname -s)} 4HOST=${HOST:-$(@nettools@/bin/hostname -s)}
5NOTMUCH_HOST=${NOTMUCH_HOST:-odin.asgard.yggdrasil} 5NOTMUCH_HOST=${NOTMUCH_HOST:-odin.asgard.yggdrasil}
6 6
7cd ~/.notmuch-tcp 7cd ~/.notmuch-tcp
8 8
9@socat@/bin/socat STDIO,ignoreeof openssl:${NOTMUCH_HOST}:${NOTMUCH_TCP},verify=1,cafile=ca.pem,certificate=${HOST}.pem,key=${HOST}.key <<(print "${(@q)@}"; inp=$(cat); printf "%d\n" $(wc -c <<<"${inp}"); cat <<<"${inp}") 9@socat@/bin/socat STDIO,ignoreeof openssl:${NOTMUCH_HOST}:${NOTMUCH_TCP},verify=1,cafile=ca.pem,certificate=${HOST}.pem,key=${HOST}.key <<(print "${(@q)@}"; inp=$(cat); printf "%d\n" $(@coreutils@/bin/wc -c <<<"${inp}"); @coreutils@/bin/cat <<<"${inp}")