summary refs log tree commit diff stats
path: root/tools/nimweb.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nimweb.nim')
-rwxr-xr-xtools/nimweb.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nimweb.nim b/tools/nimweb.nim
index 249ec5f61..05b575d16 100755
--- a/tools/nimweb.nim
+++ b/tools/nimweb.nim
@@ -178,7 +178,7 @@ proc buildPdfDoc(c: var TConfigData, destPath: string) =
       Exec("pdflatex " & changeFileExt(d, "tex"))
       Exec("pdflatex " & changeFileExt(d, "tex"))
       # delete all the crappy temporary files:
-      var pdf = extractFileTrunk(d) & ".pdf"
+      var pdf = splitFile(d).name & ".pdf"
       moveFile(destPath / pdf, pdf)
       removeFile(changeFileExt(pdf, "aux"))
       if existsFile(changeFileExt(pdf, "toc")):