This use of dynamic rebinding is more confusing than clever.
This commit is contained in:
parent
93ba4e45fc
commit
87b85b1d29
1 changed files with 4 additions and 4 deletions
|
@ -57,10 +57,10 @@ Additional args to render CONTENT can be passed via RENDER-ARGS."
|
|||
(:documentation "Deploy the STAGING dir, updating the .prev and .curr symlinks.")
|
||||
(:method (staging)
|
||||
(with-current-directory coleslaw-conf:*basedir*
|
||||
(let* ((coleslaw-conf:*basedir* (deploy *config*))
|
||||
(new-build (app-path "generated/~a" (get-universal-time)))
|
||||
(prev (app-path ".prev"))
|
||||
(curr (app-path ".curr")))
|
||||
(let* ((dest (deploy *config*))
|
||||
(new-build (rel-path dest "generated/~a" (get-universal-time)))
|
||||
(prev (rel-path dest ".prev"))
|
||||
(curr (rel-path dest ".curr")))
|
||||
(ensure-directories-exist new-build)
|
||||
(run-program "mv ~a ~a" staging new-build)
|
||||
(when (probe-file prev)
|
||||
|
|
Loading…
Add table
Reference in a new issue