gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 25/29: [auditor] use the date for the report-directory


From: gnunet
Subject: [taler-exchange] 25/29: [auditor] use the date for the report-directory
Date: Mon, 03 Jul 2023 16:24:01 +0200

This is an automated email from the git hooks/post-receive script.

oec pushed a commit to branch master
in repository exchange.

commit e889179bddc94accbba437f2ab802c165609679b
Author: Özgür Kesim <oec-taler@kesim.org>
AuthorDate: Tue Jun 27 13:09:16 2023 +0200

    [auditor] use the date for the report-directory
---
 src/auditor/taler-auditor.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/auditor/taler-auditor.in b/src/auditor/taler-auditor.in
index b00228fb..ab3d8d20 100644
--- a/src/auditor/taler-auditor.in
+++ b/src/auditor/taler-auditor.in
@@ -83,7 +83,9 @@ optcheck "$@"
 ARGS=("$@")
 ARGS=(${ARGS[@]/$INF})
 
-DIR=`mktemp -d reportXXXXXX`
+DATE=`date +%F_%H:%M:%S`
+DIR="report_$DATE"
+mkdir $DIR
 for n in aggregation coins deposits purses reserves
 do
   taler-helper-auditor-$n ${ARGS[*]} > ${DIR}/$n.json

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]