aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-02 05:44:30 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-02 05:44:30 +0200
commite3a1c5e5c654c43f02d411b4805699d6a1d652fc (patch)
treedb496f616dbb4f7a280dc2cc640578ad8afdff20 /bin
parent2e2e16eda2c02bf2b783ca5d4c649e17b287e16b (diff)
downloadarching-kaos-tools-e3a1c5e5c654c43f02d411b4805699d6a1d652fc.tar.gz
arching-kaos-tools-e3a1c5e5c654c43f02d411b4805699d6a1d652fc.tar.bz2
arching-kaos-tools-e3a1c5e5c654c43f02d411b4805699d6a1d652fc.zip
Make use AK_MINEDBLOCKSDIR variable
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-sblock-show4
1 files changed, 2 insertions, 2 deletions
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