summaryrefslogtreecommitdiffstats
path: root/cac
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-08-05 21:05:09 +0200
committertv <tv@shackspace.de>2015-08-05 21:08:58 +0200
commit20556f00927ccc39b23b99e04a0db0a942fa7172 (patch)
tree5f388699830dae1fc76f47ee25a7df3f10200a99 /cac
parent80f3b62189355bf1859110a833c0547b5fa3ed7e (diff)
cac: allow overriding default {cache,secrets}
Diffstat (limited to 'cac')
-rwxr-xr-xcac4
1 files changed, 2 insertions, 2 deletions
diff --git a/cac b/cac
index 4bc62b7..867c58f 100755
--- a/cac
+++ b/cac
@@ -42,8 +42,8 @@ sed '
}
#
-cac_listservers_cache=$HOME/tmp/cac_listservers_cache.json
-cac_secrets=$HOME/.secrets/cac
+cac_listservers_cache=${cac_listservers_cache-$HOME/tmp/cac_listservers_cache.json}
+cac_secrets=${cac_secrets-$HOME/.secrets/cac}
. "$cac_secrets" >/dev/null 2>&1 || :