commit e889179bddc94accbba437f2ab802c165609679b
parent d3d744a444e0afd33e7dec02a62a878aaab2c2a2
Author: Özgür Kesim <oec-taler@kesim.org>
Date: Tue, 27 Jun 2023 13:09:16 +0200
[auditor] use the date for the report-directory
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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