From 9dca9167ab62c5c2306e7ea4c3243a2991071461 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 20 Aug 2023 21:16:03 +0300 Subject: Moving initial cache directory here --- api/make_cache.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'api') diff --git a/api/make_cache.sh b/api/make_cache.sh index 03dab99..299cc00 100755 --- a/api/make_cache.sh +++ b/api/make_cache.sh @@ -1,11 +1,5 @@ #!/bin/bash -AK_CACHE="$AK_WORKDIR/cache" -if [ ! -d $AK_CACHE ] -then - mkdir $AK_CACHE -fi - -ak-find-latest-mined-sblock > $AK_CACHE/ak-find-latest-mined-sblock.json -ak-get-chain-minified > $AK_CACHE/ak-get-chain-minified.json -ak-get-latest > $AK_CACHE/ak-get-latest.json +ak-find-latest-mined-sblock > $AK_CACHEDIR/ak-find-latest-mined-sblock.json +ak-get-chain-minified > $AK_CACHEDIR/ak-get-chain-minified.json +ak-get-latest > $AK_CACHEDIR/ak-get-latest.json -- cgit v1.2.3