We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3c760b commit 37b1db3Copy full SHA for 37b1db3
documentation/create_pdf.sh
@@ -1,7 +1,9 @@
1
#!/bin/bash
2
3
echo "Removing previous PDF"
4
-rm proteus_doc.pdf
+if [ -f proteus_doc.pdf ]; then
5
+ rm proteus_doc.pdf
6
+fi
7
8
echo "Creating new PDF"
9
fop -xml proteus_doc.xml -xsl xsl/proteus_pdf.xsl -pdf proteus_doc.pdf
0 commit comments