summaryrefslogtreecommitdiffstats
path: root/gold/mtgox/ticker_text.sh
diff options
context:
space:
mode:
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