aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-folders
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-folders')
-rwxr-xr-xbin/ak-folders8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ak-folders b/bin/ak-folders
index 234592a..df88ca1 100755
--- a/bin/ak-folders
+++ b/bin/ak-folders
@@ -1,6 +1,6 @@
#!/bin/bash
# The following creates a mixtape data message
-# We can extend it by calling the pack_z_block.sh mixtape/add data
+# We can extend it by calling the ak-pack_z_block.sh mixtape/add data
ZFOLDERSDIR="$AK_WORKDIR/folders"
TEMP="/tmp/aktmp"
if [ ! -d $ZFOLDERSDIR ]; then
@@ -61,7 +61,7 @@ main(){
FOLDER="$TEMPASSIN/$1"
ak-logthis "Adding $FOLDER to IPFS..."
- FOLDER_IPFS_HASH=$(ipfs add -rQ $FOLDER)
+ FOLDER_IPFS_HASH=$(ak-ipfs-add $FOLDER)
if [ $? == 0 ]; then
ak-logthis "done"
else
@@ -79,7 +79,7 @@ main(){
# fi
#
# ak-logthis "Adding signature to IPFS"
-# SIGNATURE=$(ipfs add -q $TEMPASSIN/$SIGN_FOLDER)
+# SIGNATURE=$(ak-ipfs-add $TEMPASSIN/$SIGN_FOLDER)
# if [ $? == 0 ]; then
# ak-logthis "Added"
# else
@@ -98,7 +98,7 @@ echo "Printing data..."
cat $TEMPASSIN/data
echo "Publishing..."
- pack_z_block folders/add data
+ ak-pack_z_block folders/add data
if [ $? == 0 ]
then
echo "cool"