aboutsummaryrefslogtreecommitdiff
path: root/pdfs/toPDF.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pdfs/toPDF.sh')
-rwxr-xr-xpdfs/toPDF.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdfs/toPDF.sh b/pdfs/toPDF.sh
index a383c09..ac390a7 100755
--- a/pdfs/toPDF.sh
+++ b/pdfs/toPDF.sh
@@ -22,5 +22,6 @@ targetFile="${targetDir}/${sourceFile##*/}"
targetFile="${targetFile%.*}.pdf"
[ -d "$targetDir" ] || mkdir -p "$targetDir"
-pandoc "$sourceFile" -o "$targetFile"
+pandoc "$sourceFile" -o "$targetFile" > ~/logs/toPDF.log
[ -n "$open" ] && "$READER" "$targetFile" &
+