diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-03-29 23:56:26 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-03-29 23:56:26 +0300 |
commit | d85efb21fa554877b21f08a3ffdd51ebb49c55ca (patch) | |
tree | 1480b679bc1c29ecb396eb9396979ce8fcee2880 /bin/ak-enter | |
parent | 1c25589a8aca3d6dbb84a37240efd4652fbfeab7 (diff) | |
download | arching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.tar.gz arching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.tar.bz2 arching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.zip |
Fix json2bash to ak-json2bash
Diffstat (limited to 'bin/ak-enter')
-rwxr-xr-x | bin/ak-enter | 6 |
1 files changed, 3 insertions, 3 deletions
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" |