diff options
Diffstat (limited to 'buildbot/make_auditor_reports.sh')
-rwxr-xr-x | buildbot/make_auditor_reports.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh index 9690a55..ca71cc5 100755 --- a/buildbot/make_auditor_reports.sh +++ b/buildbot/make_auditor_reports.sh @@ -50,6 +50,13 @@ rm "${REPORT_FILE_NOEXT}.tex" echo Removing "${REPORT_FILE_NOEXT}.log" rm "${REPORT_FILE_NOEXT}.log" +# Group to assign the file. +GROUP="test" +if $(whoami) | grep demo; then + GROUP="demo" +fi + +chgrp ${GROUP} "${REPORT_FILE_NOEXT}.pdf" chmod g+r "${REPORT_FILE_NOEXT}.pdf" mv "${REPORT_FILE_NOEXT}.pdf" "${REPORTS_DIRECTORY}" |