diff options
Diffstat (limited to 'bin/ak-find-latest-mined-sblock')
-rwxr-xr-x | bin/ak-find-latest-mined-sblock | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ak-find-latest-mined-sblock b/bin/ak-find-latest-mined-sblock index 74fa919..c91197e 100755 --- a/bin/ak-find-latest-mined-sblock +++ b/bin/ak-find-latest-mined-sblock @@ -3,6 +3,7 @@ cd $AK_MINEDBLOCKSDIR PROGRAM="$(basename $0)" declare -A counters source $AK_LIBDIR/_ak_log +source $AK_LIBDIR/_ak_script source $AK_LIBDIR/_ak_ipfs if [ ! -z $1 ] && [ -n "$1" ] @@ -50,7 +51,7 @@ lookfor(){ fi } -templistblock="$(mktemp)" +templistblock="$(_ak_make_temp_file)" find . -type f | sed 's/^\.\/000/000/g' | grep '^000' | sort > $templistblock while IFS="" read -r p || [ -n "$p" ] do |