diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-08 14:03:41 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-08 14:03:41 +0200 |
commit | b299472f133ee60d9573afbbe49ae3c141abca0a (patch) | |
tree | ccc20169cdb36392d37709592daf85646f13ea4b /buildbot/make_auditor_reports.sh | |
parent | aabf200d5527d2f9729323d9e2e4da05fd2023b7 (diff) | |
download | deployment-b299472f133ee60d9573afbbe49ae3c141abca0a.tar.gz deployment-b299472f133ee60d9573afbbe49ae3c141abca0a.tar.bz2 deployment-b299472f133ee60d9573afbbe49ae3c141abca0a.zip |
perms
Diffstat (limited to 'buildbot/make_auditor_reports.sh')
-rwxr-xr-x | buildbot/make_auditor_reports.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh index 8c45d6e..4e4d321 100755 --- a/buildbot/make_auditor_reports.sh +++ b/buildbot/make_auditor_reports.sh @@ -8,7 +8,6 @@ DATE=$(date +%Y-%m-%d) REPORT_FILE_NOEXT=${HOME}/audit_report.${DATE} WIRE_REPORT_FILE_NOEXT=${HOME}/wire_audit_report.${DATE} JINJA_TEMPLATE="auditor-report.tex.j2" -REPORTS_DIRECTORY="${HOME}/shared-data/auditor/reports" source ${HOME}/activate @@ -17,6 +16,8 @@ if test -a ${REPORTS_DIRECTORY}/$(basename "${REPORT_FILE_NOEXT}.pdf"); then exit 0 fi +REPORTS_DIRECTORY="$(taler-config -s auditor -o reports -f)" + taler-auditor-exchange \ -c ${HOME}/.config/taler.conf \ -m $(taler-config -s exchange -o master_public_key) \ @@ -61,7 +62,7 @@ if echo $(whoami) | grep demo; then fi chgrp ${GROUP} "${REPORT_FILE_NOEXT}.pdf" -chmod g+r "${REPORT_FILE_NOEXT}.pdf" +chmod 040 "${REPORT_FILE_NOEXT}.pdf" mv "${REPORT_FILE_NOEXT}.pdf" "${REPORTS_DIRECTORY}" |