r10682: file dir handle -- patch by Gary King
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 2 Sep 2005 17:02:49 +0000 (17:02 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 2 Sep 2005 17:02:49 +0000 (17:02 +0000)
files.lisp

index a3dbf6ee34fee826e1df9c29d77bdf1ac6907f09..db1a9b1827d2d76a33865d8fd4288cf8a9aa4d00 100644 (file)
@@ -27,7 +27,8 @@
   (when (stringp f)
     (unless (position #\. f)
       (setq f (concatenate 'string f ".html"))))
-  (if *sources-dir*
+  (if (or (and (eq type :source) *sources-dir*)
+         (and (eq type :output) *output-dir*))
       (merge-pathnames
        (make-pathname :name (pathname-name f)
                      :type (pathname-type f)