From d85efb21fa554877b21f08a3ffdd51ebb49c55ca Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 29 Mar 2023 23:56:26 +0300 Subject: Fix json2bash to ak-json2bash --- bin/ak-enter | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/ak-enter') diff --git a/bin/ak-enter b/bin/ak-enter index 3b2a326..c28e44b 100755 --- a/bin/ak-enter +++ b/bin/ak-enter @@ -101,7 +101,7 @@ do echo -n '{"zblock":"'$zblock'",' # We concatenate the zblock's contents, pipe - # them through filter json2bash and output + # them through filter ak-json2bash and output # them to tmp-file # # We check if any $zblock at all @@ -123,7 +123,7 @@ do logit "[INFO]" "ZBLOCK $zblock is JSON" # Then we pass it through the filter and save it - ipfs --timeout=10s cat $zblock | json2bash > $TEMPASSIN/tmp-zblock + ipfs --timeout=10s cat $zblock | ak-json2bash > $TEMPASSIN/tmp-zblock # Be sure that there are the expected values # We need 'block' and 'block_signature' inside a 'zblock' @@ -159,7 +159,7 @@ do # Same as above applies to BLOCK and DATA subparts of each ZBLOCK # BLOCKS echo -n '"block":"'$block'",' - ipfs --timeout=10s cat $block | json2bash > $TEMPASSIN/tmp-block + ipfs --timeout=10s cat $block | ak-json2bash > $TEMPASSIN/tmp-block if [ "$?" -ne 0 ] then logit "[ERROR]" "BLOCK $block READ failed" -- cgit v1.2.3