summaryrefslogtreecommitdiff
path: root/buildbot
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-05 20:21:02 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-05 20:21:02 +0100
commit3914472534279cee3ef349de8b5b52ef5f554691 (patch)
tree47ea7fa8ea13f82b685a1ee2f7aaf43188ee84e8 /buildbot
parent73bd179a7e7b2df39a70f69fead00d38b14b4382 (diff)
downloaddeployment-3914472534279cee3ef349de8b5b52ef5f554691.tar.gz
deployment-3914472534279cee3ef349de8b5b52ef5f554691.tar.bz2
deployment-3914472534279cee3ef349de8b5b52ef5f554691.zip
Still on paths.
Diffstat (limited to 'buildbot')
-rwxr-xr-xbuildbot/make_auditor_reports.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh
index eb6b72d..4bfb597 100755
--- a/buildbot/make_auditor_reports.sh
+++ b/buildbot/make_auditor_reports.sh
@@ -34,12 +34,12 @@ python ${PWD}/render_auditor_reports.py \
> "${REPORT_FILE_NOEXT}.tex" \
< "${JINJA_TEMPLATE}"
-cd "${REPORTS_DIRECTORY}"
pdflatex "${REPORT_FILE_NOEXT}.tex"
# Remove garbage and set permissions.
-rm *.aux
-rm *.log
+rm "${REPORT_FILE_NOEXT}.aux"
+rm "${REPORT_FILE_NOEXT}.log"
chmod g+r "${REPORT_FILE_NOEXT}.pdf"
+mv "${REPORT_FILE_NOEXT}.pdf" "${REPORTS_DIRECTORY}"
echo "The file ${REPORT_FILE_NOEXT}.pdf" has been correctly generated.