summaryrefslogtreecommitdiffstats
path: root/gold/mtgox/ticker_text.sh
diff options
context:
space:
mode:
authortv <tv@xso>2011-08-24 17:01:38 +0200
committertv <tv@xso>2011-08-24 17:01:38 +0200
commitb35a8971a9e1fa904db4356cb28fc4cd648134d3 (patch)
tree0da6904f6326a3b565b99767f3b3b8a555a2b7de /gold/mtgox/ticker_text.sh
parent0ec11733c539e69b1e035585f9e44de19198d93a (diff)
gold: add scex ticker_text.sh
Diffstat (limited to 'gold/mtgox/ticker_text.sh')
-rwxr-xr-xgold/mtgox/ticker_text.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/gold/mtgox/ticker_text.sh b/gold/mtgox/ticker_text.sh
index 2bcac134..f585ffea 100755
--- a/gold/mtgox/ticker_text.sh
+++ b/gold/mtgox/ticker_text.sh
@@ -1,3 +1,4 @@
-#!/bin/sh
-dirname=`dirname $(readlink -f $0)`
-$dirname/mtgox.ticker | python $dirname/json_ticker_helper.py
+#! /bin/sh
+set -euf
+cd $(dirname `readlink -f $0`)
+./mtgox.ticker | ../json/render/ticker