From 26c221aeba6b45fd3d23ef4fbddcb9cb8e1cde04 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 4 Dec 2018 18:20:51 +0100 Subject: taler-auditor-exchange wants '-c' option. --- buildbot/make_auditor_reports.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'buildbot') 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 \ -- cgit v1.2.3