aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-zblock-manipulator
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-04-02 19:25:12 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-04-02 19:25:12 +0300
commita4e83a94b06110ac3a2b82c1061d0073e359eda8 (patch)
tree8068366fed96dbf5677d7ffdc87bffbf966e5f73 /bin/ak-zblock-manipulator
parent1e779e30ef68bbc07fa7a205403d585868dc6b35 (diff)
downloadarching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.tar.gz
arching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.tar.bz2
arching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.zip
Eliminated json_pp usage
Diffstat (limited to 'bin/ak-zblock-manipulator')
-rwxr-xr-xbin/ak-zblock-manipulator4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-zblock-manipulator b/bin/ak-zblock-manipulator
index 433ab11..6570484 100755
--- a/bin/ak-zblock-manipulator
+++ b/bin/ak-zblock-manipulator
@@ -115,7 +115,7 @@ then
ipfs get "$BLOCK_TO_ADD"
sed -i.bak -e 's/^.*previous.*$/\"previous\":\"'$PREVIOUS'\"/' $BLOCK_TO_ADD
- cat $BLOCK_TO_ADD | json_pp
+ cat $BLOCK_TO_ADD | jq -M
exit 2
else
@@ -123,7 +123,7 @@ then
exit 1
fi
- # cat $PWD/zblock | json_pp
+ # cat $PWD/zblock | jq -M
# Optional or extending with
# python send_as_ak_tx $ZBLOCK
# or for "offline" use