summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-04 18:20:51 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-04 18:20:51 +0100
commit26c221aeba6b45fd3d23ef4fbddcb9cb8e1cde04 (patch)
treebdadb8e6a8aff342c1ec01bd00ac9177155425f6
parentf478e828289ef16b31c90b3807d1b4d05fa6ec62 (diff)
downloaddeployment-26c221aeba6b45fd3d23ef4fbddcb9cb8e1cde04.tar.gz
deployment-26c221aeba6b45fd3d23ef4fbddcb9cb8e1cde04.tar.bz2
deployment-26c221aeba6b45fd3d23ef4fbddcb9cb8e1cde04.zip
taler-auditor-exchange wants '-c' option.
-rwxr-xr-xbuildbot/make_auditor_reports.sh8
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 \