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
commit28fbd9a5f090c52766d0e4ef1014f3356e188656 (patch)
treed4f40a60cb311588f096dec74335a4473f2f6c43 /gold/mtgox/ticker_text.sh
parent77b129d0f8958149bb2a876c574b1d3d9c671bc8 (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