[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: remove strange chgrp'ing
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: remove strange chgrp'ing |
Date: |
Tue, 25 Feb 2020 13:32:00 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new c29d5d3 remove strange chgrp'ing
c29d5d3 is described below
commit c29d5d3a407ad9c378c707a7edeb2f66ece7b07e
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 25 13:31:22 2020 +0100
remove strange chgrp'ing
---
buildbot/make_auditor_reports.sh | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh
index 8514edf..e696fa9 100755
--- a/buildbot/make_auditor_reports.sh
+++ b/buildbot/make_auditor_reports.sh
@@ -14,8 +14,8 @@ source ${HOME}/activate
taler-deployment build
DATE=$(date +%Y-%m-%d)
-REPORT_FILE_NOEXT=${HOME}/audit_report.${DATE}
-WIRE_REPORT_FILE_NOEXT=${HOME}/wire_audit_report.${DATE}
+REPORT_FILE_NOEXT="${HOME}/audit_report.${DATE}"
+WIRE_REPORT_FILE_NOEXT="${HOME}/wire_audit_report.${DATE}"
JINJA_TEMPLATE="auditor-report.tex.j2"
REPORTS_DIRECTORY=$(taler-config -s auditor -o reports -f)
@@ -38,7 +38,7 @@ if test -a ${REPORTS_DIRECTORY}/$(basename
"${REPORT_FILE_NOEXT}.pdf"); then
fi
-CONFIG_FILE=${TALER_HOME}/.config/taler.conf
+CONFIG_FILE="${TALER_HOME}/.config/taler.conf"
# Generate first report.
echo "Running taler-auditor"
@@ -83,15 +83,9 @@ if ! test -f "${REPORT_FILE_NOEXT}.pdf"; then
exit 1
fi
-# Group to assign the file.
-GROUP="test"
-if echo $(whoami) | grep demo; then
- GROUP="demo"
-fi
-
-chgrp ${GROUP} "${REPORT_FILE_NOEXT}.pdf"
-chmod 040 "${REPORT_FILE_NOEXT}.pdf"
-
+mkdir -p "${REPORTS_DIRECTORY}"
+chmod 444 "${REPORT_FILE_NOEXT}.pdf"
mv "${REPORT_FILE_NOEXT}.pdf" "${REPORTS_DIRECTORY}"
-
echo Reports moved in "${REPORTS_DIRECTORY}".
+
+exit 0
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: remove strange chgrp'ing,
gnunet <=