gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: care about wire r


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: care about wire report
Date: Wed, 29 May 2019 20:31:01 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 97b8732  care about wire report
97b8732 is described below

commit 97b87323bf7ebba3af359fbacdfc202e84dbe5e1
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed May 29 20:30:55 2019 +0200

    care about wire report
---
 buildbot/make_auditor_reports.sh | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh
index f9ff64d..9f4fac3 100755
--- a/buildbot/make_auditor_reports.sh
+++ b/buildbot/make_auditor_reports.sh
@@ -11,7 +11,7 @@ DATE=$(date +%Y-%m-%d)
 REPORT_FILE_NOEXT=${HOME}/audit_report.${DATE}
 WIRE_REPORT_FILE_NOEXT=${HOME}/wire_audit_report.${DATE}
 JINJA_TEMPLATE="auditor-report.tex.j2"
-REPORTS_DIRECTORY="${HOME}/shared-data/auditor/reports/"
+REPORTS_DIRECTORY="${HOME}/shared-data/auditor/reports"
 
 source ${HOME}/activate
 
@@ -36,22 +36,41 @@ cd ${HOME}
 pdflatex "${REPORT_FILE_NOEXT}.tex"
 # Give twice to let TeX resolve the sections references.
 pdflatex "${REPORT_FILE_NOEXT}.tex"
+pdflatex "${WIRE_REPORT_FILE_NOEXT}.tex"
+# Give twice to let TeX resolve the sections references.
+pdflatex "${WIRE_REPORT_FILE_NOEXT}.tex"
+
 
 # Remove garbage and set permissions. 
 echo Removing "${REPORT_FILE_NOEXT}.aux"
+echo Removing "${WIRE_REPORT_FILE_NOEXT}.aux"
 rm "${REPORT_FILE_NOEXT}.aux"
+rm "${WIRE_REPORT_FILE_NOEXT}.aux"
 echo Removing "${REPORT_FILE_NOEXT}.tex"
+echo Removing "${WIRE_REPORT_FILE_NOEXT}.aux"
 rm "${REPORT_FILE_NOEXT}.tex"
+rm "${WIRE_REPORT_FILE_NOEXT}.aux"
 echo Removing "${REPORT_FILE_NOEXT}.log"
+echo Removing "${WIRE_REPORT_FILE_NOEXT}.aux"
 rm "${REPORT_FILE_NOEXT}.log"
+rm "${WIRE_REPORT_FILE_NOEXT}.aux"
 
 chmod g+r "${REPORT_FILE_NOEXT}.pdf"
+chmod g+r "${WIRE_REPORT_FILE_NOEXT}.pdf"
 
-if test -a "${REPORTS_DIRECTORY}$(basename "${REPORT_FILE_NOEXT}.pdf")"; then
+if test -a ${REPORTS_DIRECTORY}/$(basename "${REPORT_FILE_NOEXT}.pdf"); then
   echo "Today's report already compiled."
+  rm "${REPORT_FILE_NOEXT}.pdf"
+  exit 0
+fi
+
+if test -a ${REPORTS_DIRECTORY}/$(basename "${WIRE_REPORT_FILE_NOEXT}.pdf"); 
then
+  echo "Today's wire report already compiled."
+  rm "${WIRE_REPORT_FILE_NOEXT}.pdf"
   exit 0
 fi
 
 mv "${REPORT_FILE_NOEXT}.pdf" "${REPORTS_DIRECTORY}"
+mv "${WIRE_REPORT_FILE_NOEXT}.pdf" "${REPORTS_DIRECTORY}"
 
-echo Report moved in "${REPORTS_DIRECTORY}".
+echo Reports moved in "${REPORTS_DIRECTORY}".

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]