aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ak-enter6
-rwxr-xr-xbin/ak-logthis2
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/ak-enter b/bin/ak-enter
index 7d51f56..b4d8f5b 100755
--- a/bin/ak-enter
+++ b/bin/ak-enter
@@ -161,7 +161,7 @@ do
# We create files named after each ZBLOCK IPFS CID for later
# reference. Files are empty.
- touch $ZBLOCKDIR/$zblock
+ touch $AK_ZBLOCKDIR/$zblock
logit "[INFO]" "Created reference"
# Supposingly you are on a safe environment and you only have
@@ -191,7 +191,7 @@ do
source tmp-block
logit "[INFO]" "BLOCK $block SOURCED"
- touch $BLOCKDIR/$block
+ touch $AK_BLOCKDIR/$block
logit "[INFO]" "BLOCK REFERENCED"
module="$(echo $action | sed -e 's/\// /g' | awk '{ print $1 }')"
logit "[INFO]" "DATA is $module module."
@@ -254,7 +254,7 @@ do
# DATA (but we don't source it's stuff)
# Only print to stdout
#ak-ipfs-cat $data
- touch $DATADIR/$data
+ touch $AK_DATADIR/$data
# Now, since we sourced the BLOCK to our terminal, we can search
# for $previous variable. In case we don't find one, we append one
diff --git a/bin/ak-logthis b/bin/ak-logthis
index 347fd0b..e1e55d0 100755
--- a/bin/ak-logthis
+++ b/bin/ak-logthis
@@ -1,3 +1,3 @@
#!/bin/bash
-echo "$(date -u +%s)" "$1" "$2" "$3" >> $LOGSFILE
+echo "$(date -u +%s)" "$1" "$2" "$3" >> $AK_LOGSFILE