summaryrefslogtreecommitdiff
path: root/buildbot
diff options
context:
space:
mode:
Diffstat (limited to 'buildbot')
-rwxr-xr-xbuildbot/make_auditor_reports.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh
index 4977e62..06ab3bb 100755
--- a/buildbot/make_auditor_reports.sh
+++ b/buildbot/make_auditor_reports.sh
@@ -27,11 +27,14 @@ SUDO_COLOR="sudo -u ${ACTIVE_COLOR}"
JINJA_TEMPLATE="auditor-report.tex.j2"
REPORTS_DIRECTORY="/home/${TALER_DEPLOYMENT}/reports"
-${SUDO_COLOR} bash -c \
- "source /home/${ACTIVE_COLOR}/activate;" \
- 'echo $PATH;' \
+CMD=$(printf "%s; %s; %s" \
+ "source /home/${ACTIVE_COLOR}/activate" \
+ 'echo $PATH' \
'taler-auditor-exchange -m $(taler-config -s exchange -o master_public_key) \
- -u $(taler-config -s exchange -o base_url)'
+ -u $(taler-config -s exchange -o base_url)')
+echo $CMD
+
+${SUDO_COLOR} bash -c $CMD
${SUDO_COLOR} bash -c \
"source /home/${ACTIVE_COLOR}/activate; \