aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-06-27 13:09:16 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-06-27 13:09:16 +0200
commite889179bddc94accbba437f2ab802c165609679b (patch)
tree4515c40405638a8a05a1adb954bcc496fcc1b50f /src/auditor
parentd3d744a444e0afd33e7dec02a62a878aaab2c2a2 (diff)
[auditor] use the date for the report-directory
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-auditor.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor.in b/src/auditor/taler-auditor.in
index b00228fb8..ab3d8d202 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