From e3a1c5e5c654c43f02d411b4805699d6a1d652fc Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 2 Mar 2024 05:44:30 +0200 Subject: Make use AK_MINEDBLOCKSDIR variable --- bin/ak-sblock-show | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/ak-sblock-show b/bin/ak-sblock-show index 836e60a..b4001df 100755 --- a/bin/ak-sblock-show +++ b/bin/ak-sblock-show @@ -1,9 +1,9 @@ #!/bin/bash PROGRAM="show_sblock" -MINED_BLOCKS_DIR="/home/kaotisk/.arching-kaos/mined_blocks" + if [ ! -z $1 ] then - cat $MINED_BLOCKS_DIR/$1 | jq + cat $AK_MINEDBLOCKSDIR/$1 | jq else echo "No sblock hash input" fi -- cgit v1.2.3