diff options
Diffstat (limited to 'api/make_cache.sh')
-rwxr-xr-x[-rw-r--r--] | api/make_cache.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/make_cache.sh b/api/make_cache.sh index b9e7cb9..03dab99 100644..100755 --- a/api/make_cache.sh +++ b/api/make_cache.sh @@ -1,4 +1,9 @@ +#!/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 |