Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Commit

Permalink
twiddle directories
Browse files Browse the repository at this point in the history
  • Loading branch information
mtravers committed Mar 5, 2012
1 parent 82a4c52 commit 56e1e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/compile.lisp
@@ -1,6 +1,6 @@
(in-package :cl-user)

(defvar *app-dir* (butlast (pathname-directory *load-pathname*)))
(defvar *build-dir* (pathname-directory (pathname (concatenate 'string (getenv "BUILD_DIR") "/"))))
(defvar *cache-dir* (pathname-directory (pathname (concatenate 'string (getenv "CACHE_DIR") "/"))))
(defvar *buildpack-dir* (pathname-directory (pathname (concatenate 'string (getenv "BUILDPACK_DIR") "/"))))

Expand Down Expand Up @@ -30,7 +30,7 @@
))

;;; This loads the application
(load (make-pathname :directory *app-dir* :defaults "heroku-setup.lisp"))
(load (make-pathname :directory *build-dir* :defaults "heroku-setup.lisp"))

(save-application
(format nil "~A/bin/lispapp" (getenv "BUILD_DIR")) ;must match path specified in bin/release
Expand Down

0 comments on commit 56e1e78

Please sign in to comment.