diff options
author | kaotisk <kaotisk@arching-kaos.com> | 2022-02-11 09:23:39 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.com> | 2022-02-11 09:23:39 +0200 |
commit | f3cbbde027900643d5ec56af6746be0dab9dfb9e (patch) | |
tree | a86c221d8cfc8159609482a6b937748cee761a3f | |
parent | 143b88e33d8c09e6baf947f9d4f2550458b069d8 (diff) | |
download | arching-kaos-tools-f3cbbde027900643d5ec56af6746be0dab9dfb9e.tar.gz arching-kaos-tools-f3cbbde027900643d5ec56af6746be0dab9dfb9e.tar.bz2 arching-kaos-tools-f3cbbde027900643d5ec56af6746be0dab9dfb9e.zip |
more fixes++
-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" } |