aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-mixtapes
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-mixtapes')
-rwxr-xr-xbin/ak-mixtapes8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ak-mixtapes b/bin/ak-mixtapes
index a40f33b..c78a709 100755
--- a/bin/ak-mixtapes
+++ b/bin/ak-mixtapes
@@ -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
usage(){
title
@@ -10,12 +10,12 @@ usage(){
main(){
echo $MIXTAPE_FILE "by" $MIXTAPE_ARTIST "named as" $MIXTAPE_TITLE
- MIXTAPE_IPFS_HASH=$(ipfs add -q $MIXTAPE_FILE)
+ MIXTAPE_IPFS_HASH=$(ak-ipfs-add $MIXTAPE_FILE)
MIXTAPE_SIGN_FILE=$MIXTAPE_FILE".asc"
gpg2 --detach-sign --sign-with $FINGERPRINT --armor --output $MIXTAPE_SIGN_FILE $MIXTAPE_FILE
- MIXTAPE_SIGNATURE=$(ipfs add -q $MIXTAPE_SIGN_FILE)
+ MIXTAPE_SIGNATURE=$(ak-ipfs-add $MIXTAPE_SIGN_FILE)
cat > data <<EOF
{
@@ -43,6 +43,6 @@ then
MIXTAPE_FILE="$PWD/$3"
main
cat $PWD/data | jq -M
- # sh pack_z_block.sh mixtape/add $PWD/data
+ # sh ak-pack_z_block.sh mixtape/add $PWD/data
else usage
fi