aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-articles
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:46:45 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:46:45 +0300
commit7e45b9def509ff28f70c28f50f5aa931f512d81b (patch)
treecba30ff5eb679f1c6426dedb5383bd401f8f8cfb /bin/ak-articles
parent286b71a6ead8c7234cfbc0b8ece05c8239a4f32c (diff)
downloadarching-kaos-tools-7e45b9def509ff28f70c28f50f5aa931f512d81b.tar.gz
arching-kaos-tools-7e45b9def509ff28f70c28f50f5aa931f512d81b.tar.bz2
arching-kaos-tools-7e45b9def509ff28f70c28f50f5aa931f512d81b.zip
Further renaming
Diffstat (limited to 'bin/ak-articles')
-rwxr-xr-xbin/ak-articles4
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
{