commit 3914472534279cee3ef349de8b5b52ef5f554691
parent 73bd179a7e7b2df39a70f69fead00d38b14b4382
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Wed, 5 Dec 2018 20:21:02 +0100
Still on paths.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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.