summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-11-30 16:09:00 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-11-30 16:09:00 +0100
commit192d5e0f0c9861ee0ab0446e5dc2f24269bb592d (patch)
tree2e3b9df6ce4179e310d0ec616b9886f359c9843f
parenta3af99a2f61d55bd4b8a06afa4be29d343d42049 (diff)
downloaddeployment-192d5e0f0c9861ee0ab0446e5dc2f24269bb592d.tar.gz
deployment-192d5e0f0c9861ee0ab0446e5dc2f24269bb592d.tar.bz2
deployment-192d5e0f0c9861ee0ab0446e5dc2f24269bb592d.zip
Auditor deployment.
Prefer 'bash' when sudo-ing commands.
-rwxr-xr-xbuildbot/make_auditor_reports.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh
index 7a6ab70..32465d0 100755
--- a/buildbot/make_auditor_reports.sh
+++ b/buildbot/make_auditor_reports.sh
@@ -27,11 +27,11 @@ SUDO_COLOR="sudo -u ${ACTIVE_COLOR}"
JINJA_TEMPLATE="auditor-report.tex.j2"
REPORTS_DIRECTORY="/home/${TALER_DEPLOYMENT}/reports"
-${SUDO_COLOR} sh -c \
+${SUDO_COLOR} bash -c \
"source /home/${ACTIVE_COLOR}/activate; \
taler-auditor > ${REPORT_FILE}.txt"
-${SUDO_COLOR} sh -c \
+${SUDO_COLOR} bash -c \
"source /home/${ACTIVE_COLOR}/activate; \
taler-wire-auditor > ${WIRE_REPORT_FILE}.txt"