From fb3a4a9ab88869316d4517fa5f35b776046fb251 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sat, 29 Dec 2018 17:39:41 +0100 Subject: [PATCH] chg: [build] ensuring the list of PDFs concatenated are consistent --- build.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 20b3c4d..22f2f5b 100644 --- a/build.sh +++ b/build.sh @@ -24,7 +24,13 @@ cd ../.. echo "Generating handout..." cd output -pdfunite *.pdf ../misp-training.pdf +for pdf in ${slidedecks[@]}; do + listofpdf+="${pdf}.pdf " +done +echo ${listofpdf} + +pdfunite ${listofpdf} ack.pdf ../misp-training.pdf cd .. + exiftool -overwrite_original_in_place -Title="MISP Training and Slide Decks" -Author="CIRCL Computer Incident Response Center Luxembourg" -Subject="MISP Threat Intelligence Platform Training Materials" -Keywords="MISP Threat Intelligence CTI STIX information sharing yara sigma suricata snort bro openioc threat-actor TIP threat intelligence platform circl.lu training cybersecurity MISPProject" misp-training.pdf