diff options
-rwxr-xr-x | buildbot/make_auditor_reports.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh index 3c49be7..7a6ab70 100755 --- a/buildbot/make_auditor_reports.sh +++ b/buildbot/make_auditor_reports.sh @@ -27,8 +27,13 @@ SUDO_COLOR="sudo -u ${ACTIVE_COLOR}" JINJA_TEMPLATE="auditor-report.tex.j2" REPORTS_DIRECTORY="/home/${TALER_DEPLOYMENT}/reports" -${SUDO_COLOR} sh -c "taler-auditor > ${REPORT_FILE}.txt" -${SUDO_COLOR} sh -c "taler-wire-auditor > ${WIRE_REPORT_FILE}.txt" +${SUDO_COLOR} sh -c \ + "source /home/${ACTIVE_COLOR}/activate; \ + taler-auditor > ${REPORT_FILE}.txt" + +${SUDO_COLOR} sh -c \ + "source /home/${ACTIVE_COLOR}/activate; \ + taler-wire-auditor > ${WIRE_REPORT_FILE}.txt" # 2 convert them into PDF. # 3 put them into nginx-served directory. |