aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-comments
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-comments')
-rwxr-xr-xbin/ak-comments2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-comments b/bin/ak-comments
index 3a35efa..a8016bf 100755
--- a/bin/ak-comments
+++ b/bin/ak-comments
@@ -58,7 +58,7 @@ add(){
DATETIME="$1"
FILE_IPFS_HASH=$(ak-ipfs-add $FILE)
FILE_SIGN_FILE=$FILE".asc"
- gpg --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE
+ gpg2 --homedir $AK_GPGHOME --detach-sign --sign-with $AK_FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE
FILE_SIGNATURE=$(ak-ipfs-add $FILE_SIGN_FILE)
printf '{"datetime":"%s","ipfs":"%s","detach":"%s"}' $DATETIME $FILE_IPFS_HASH $FILE_SIGNATURE > data
else