diff options
author | Dave Reisner <dreisner@archlinux.org> | 2016-03-20 16:43:22 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2016-03-20 16:43:22 -0400 |
commit | b91a953f5f67a296b638f2a1a827dab65a57c881 (patch) | |
tree | c1ffc47e7fc6e915446fc6415005693feba74451 /remote.inc.sh | |
parent | ac4cfde7e64f5d753de86ccf1f2a3e2a9f110471 (diff) | |
download | asp32-b91a953f5f67a296b638f2a1a827dab65a57c881.tar.xz |
fix some things highlighted by shellcheck
Diffstat (limited to 'remote.inc.sh')
-rw-r--r-- | remote.inc.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/remote.inc.sh b/remote.inc.sh index 61204bf..826ab37 100644 --- a/remote.inc.sh +++ b/remote.inc.sh @@ -1,5 +1,3 @@ -declare -A refcache=() - __remote_refcache_update() { local remote=$1 cachefile=$ASPCACHE/remote-$remote @@ -11,7 +9,7 @@ __remote_refcache_update() { } __remote_refcache_get() { - local remote=$1 ttl=3600 now= cachetime= cachefile=$ASPCACHE/remote-$remote + local remote=$1 ttl=3600 now cachetime cachefile=$ASPCACHE/remote-$remote printf -v now '%(%s)T' -1 |