diff options
Diffstat (limited to 'buildbot')
-rwxr-xr-x | buildbot/make_auditor_reports.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh index da69699..5326218 100755 --- a/buildbot/make_auditor_reports.sh +++ b/buildbot/make_auditor_reports.sh @@ -27,10 +27,16 @@ SUDO_COLOR="sudo -u ${ACTIVE_COLOR}" JINJA_TEMPLATE="auditor-report.tex.j2" REPORTS_DIRECTORY="/home/${TALER_DEPLOYMENT}/reports" +TALER_AUDITOR_EXCHANGE=$(printf "taler-auditor-exchange -c %s -m %s -u %s" \ + "'${HOME}/.config/taler.conf'" \ + "'$(taler-config -s exchange -o master_public_key)'" \ + "'$(taler-config -s exchange -o base_url)'") + CMD=$(printf "%s; %s" \ "source /home/${ACTIVE_COLOR}/activate" \ - 'taler-auditor-exchange -m $(taler-config -s exchange -o master_public_key) -u $(taler-config -s exchange -o base_url)') + "${TALER_AUDITOR_EXCHANGE}" +echo About to execute: $CMD ${SUDO_COLOR} bash -c "$CMD" ${SUDO_COLOR} bash -c \ |