diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-02 05:44:30 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-02 05:44:30 +0200 |
commit | e3a1c5e5c654c43f02d411b4805699d6a1d652fc (patch) | |
tree | db496f616dbb4f7a280dc2cc640578ad8afdff20 /bin | |
parent | 2e2e16eda2c02bf2b783ca5d4c649e17b287e16b (diff) | |
download | arching-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-x | bin/ak-sblock-show | 4 |
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 |