From abf60e027d23b44e10dbc5c99cf368e7de0aeeea Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 6 Jul 2011 20:02:51 -0700 Subject: [PATCH] fix pattern to pick the right hostid. --- xwords4/linux/scripts/relayID.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/linux/scripts/relayID.sh b/xwords4/linux/scripts/relayID.sh index a8a10bd86..043118307 100755 --- a/xwords4/linux/scripts/relayID.sh +++ b/xwords4/linux/scripts/relayID.sh @@ -24,7 +24,7 @@ while [ $# -ge 1 ]; do *got_connect_cmd:\ connName* ) CONNNAME="$(echo $LINE | sed 's,^.*connName: "\(.*\)"$,\1,')" ;; - *hostid* ) + *got_connect_cmd:\ set\ hostid* ) HOSTID=$(echo $LINE | sed 's,^.*set hostid: \(.\)$,\1,') ;; *getChannelSeed:\ channelSeed:*)