diff options
-rwxr-xr-x | bin/ak-files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-files b/bin/ak-files index 39950e3..c307640 100755 --- a/bin/ak-files +++ b/bin/ak-files @@ -41,7 +41,7 @@ main(){ FILENAME="$1" CRP="$2" echo "Adding $FILENAME" - TEMPASSIN=tempassin + TEMPASSIN="$(tempassin)" cd $TEMPASSIN cp $2/$1 $TEMPASSIN/$1 FILE="$TEMPASSIN/$1" @@ -55,7 +55,7 @@ main(){ cat > $TEMPASSIN/data <<EOF { "timestamp":"$(date -u +%s)", - "filename":"$FILE", + "filename":"$FILENAME", "ipfs":"$FILE_IPFS_HASH", "detach":"$SIGNATURE" } |