summaryrefslogtreecommitdiff
path: root/src/guile/skribilo.scm
diff options
context:
space:
mode:
Diffstat (limited to 'src/guile/skribilo.scm')
-rwxr-xr-xsrc/guile/skribilo.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guile/skribilo.scm b/src/guile/skribilo.scm
index a43ec66..33c2bb4 100755
--- a/src/guile/skribilo.scm
+++ b/src/guile/skribilo.scm
@@ -387,7 +387,7 @@ Processes a Skribilo/Skribe source file and produces its output.
skribilo-options))
(engine (string->symbol
(option-ref options 'target "html")))
- (debugging-level (option-ref options 'debug 0))
+ (debugging-level (option-ref options 'debug "0"))
(load-path (option-ref options 'load-path "."))
(bib-path (option-ref options 'bib-path "."))
(preload '())
@@ -455,6 +455,8 @@ Processes a Skribilo/Skribe source file and produces its output.
(with-output-to-file dest-file doskribe)
(doskribe)))))
+ (set! *skribe-dest* dest-file)
+
(if (and dest-file (file-exists? dest-file))
(delete-file dest-file))