Ver código fonte

Force staging-dir to be a directory-pathname in compile-blog.

Brit Butler 10 anos atrás
pai
commit
a6a5b0b86b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/coleslaw.lisp

+ 1 - 1
src/coleslaw.lisp

@@ -24,7 +24,7 @@ in REPO-DIR. Optionally, OLDREV is the revision prior to the last push."
24 24
 
25 25
 (defun compile-blog (staging)
26 26
   "Compile the blog to a STAGING directory as specified in .coleslawrc."
27
-  (ensure-directories-exist staging)
27
+  (ensure-directories-exist (ensure-directory-pathname staging))
28 28
   (with-current-directory staging
29 29
     (dolist (dir (list (app-path "themes/~a/css" (theme *config*))
30 30
                        (app-path "themes/~a/img" (theme *config*))