diff options
Diffstat (limited to 'bin/ak-articles')
-rwxr-xr-x | bin/ak-articles | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-articles b/bin/ak-articles index 18959ad..ce782b8 100755 --- a/bin/ak-articles +++ b/bin/ak-articles @@ -1,5 +1,5 @@ #!/bin/bash -ZARTICLESDIR="$WORKDIR/articles" +ZARTICLESDIR="$AK_WORKDIR/articles" TEMP="/tmp/aktmp" echo $ZARTICLESDIR if [ ! -d $ZARTICLESDIR ]; then @@ -92,7 +92,7 @@ add(){ TITLE=$(head -n 1 $FILE) FILE_IPFS_HASH=$(ipfs add -q $FILE) FILE_SIGN_FILE=$FILE".asc" - gpg --detach-sign --sign-with $FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE + gpg --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE FILE_SIGNATURE=$(ipfs add -q $FILE_SIGN_FILE) cat > data <<EOF { |