aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-zchain-calculate-size
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-zchain-calculate-size')
-rwxr-xr-xbin/ak-zchain-calculate-size3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ak-zchain-calculate-size b/bin/ak-zchain-calculate-size
index fe99187..51c4202 100755
--- a/bin/ak-zchain-calculate-size
+++ b/bin/ak-zchain-calculate-size
@@ -1,5 +1,6 @@
#!/bin/bash
PROGRAM="$(basename $0)"
+source $AK_LIBDIR/_ak_ipfs
temp="$(mktemp -d)"
@@ -16,7 +17,7 @@ sum=0 ; while IFS="" read -r p || [ -n "$p" ]
do
if [ "$p" != "" ]
then
- ak-ipfs-get $p
+ _ak_ipfs_get $p
num="$(du -bs --apparent-size $p | cut -d $'\t' -f 1)"
else
num=0