Make it so the candle script loads asdf based on its location
authorFrank Duncan <frank@kank.net>
Fri, 13 Aug 2021 20:25:30 +0000 (15:25 -0500)
committerFrank Duncan <frank@kank.net>
Fri, 13 Aug 2021 20:25:30 +0000 (15:25 -0500)
bin/candle

index ee6849844e9d1c8fb18b210034286781567c3358..7e985d676c56b2f01aa83be8ad69e0d1bdf16453 100755 (executable)
@@ -3,7 +3,7 @@
 (setf *compile-print* nil)
 (require 'asdf)
 (asdf:initialize-source-registry
- `(:source-registry (:tree ,(car (directory "."))) :INHERIT-CONFIGURATION))
+ `(:source-registry (:tree ,(make-pathname :directory (butlast (pathname-directory *load-truename*)))) :INHERIT-CONFIGURATION))
 (asdf:load-system :candle)
 (candle-cli:run)