diff options
Diffstat (limited to 'bin/ak-data-expand')
-rwxr-xr-x | bin/ak-data-expand | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ak-data-expand b/bin/ak-data-expand index d13233d..3e194a3 100755 --- a/bin/ak-data-expand +++ b/bin/ak-data-expand @@ -1,12 +1,12 @@ #!/bin/bash PROGRAM="$(basename $0)" +source $AK_LIBDIR/logit + if [ ! -d $AK_WORKDIR/ipfs ] then mkdir $AK_WORKDIR/ipfs fi -logit(){ - ak-logthis "$PROGRAM" "$1" "$2" -} + if [ ! -z "$1" ] && [ ! -z "$2" ] then echo -n "$1" | grep -e 'Qm.\{44\}' >/dev/null |