summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-04-30 16:49:29 +1200
committerDavid Phillips <david@sighup.nz>2017-04-30 16:49:29 +1200
commit64c229e3333a9463f43186e2bf1436624c18da7c (patch)
treea031f168a0ccc71b6be3c36418435429e4c142c9
parent16ff7800936e3f629798f86addc4ea7ce9663956 (diff)
downloaddotfiles-64c229e3333a9463f43186e2bf1436624c18da7c.tar.xz
Fix currency output path in grab-spot
-rwxr-xr-xlocal/bin/grab-spot2
1 files changed, 1 insertions, 1 deletions
diff --git a/local/bin/grab-spot b/local/bin/grab-spot
index d912d7a..eda284e 100755
--- a/local/bin/grab-spot
+++ b/local/bin/grab-spot
@@ -26,5 +26,5 @@ if ([ ! -f ~/.cache/currency/"$1$2" ] || [ $(find ~/.cache/currency/"$1$2" -mmin
logger "$0: curl error"
exit
fi
- printf "$1$2: %.4f" $rate > ~/.cache/"$1$2"
+ printf "$1$2: %.4f" $rate > ~/.cache/currency/"$1$2"
fi