*load-truename* does not work, it may point to the cached fasl file.
This commit is contained in:
parent
35c09f45bd
commit
5fd748be8b
1 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
(defpackage #:coleslaw-conf
|
||||
(:use #:cl)
|
||||
(:import-from #:uiop/pathname
|
||||
#:pathname-parent-directory-pathname)
|
||||
(:export #:*basedir*))
|
||||
|
||||
(in-package #:coleslaw-conf)
|
||||
|
||||
(defparameter *basedir* (pathname-parent-directory-pathname (make-pathname :name nil :type nil :defaults *load-truename*))
|
||||
(defparameter *basedir*
|
||||
(uiop/pathname:pathname-parent-directory-pathname
|
||||
#.(or *compile-file-truename* *load-truename*))
|
||||
"A pathname pointing to Coleslaw's top level directory.")
|
||||
|
|
Loading…
Add table
Reference in a new issue