diff options
Diffstat (limited to 'pdfs')
-rwxr-xr-x | pdfs/toPDF.sh | 3 |
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" & + |