Skip to content

Commit

Permalink
dictパッケージの読み込みに失敗するのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Jan 5, 2012
1 parent 8add4bf commit 55bbd55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


[バージョン]
・0.3.0
・0.3.1


[依存パッケージ]
Expand Down
2 changes: 1 addition & 1 deletion dawg.asd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(defsystem dawg
:name "dawg"
:author "Takeru Ohta"
:version "0.3.0"
:version "0.3.1"

:serial t
:components ((:file "load-hashmap")
Expand Down
4 changes: 3 additions & 1 deletion load-hashmap.lisp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
(eval-when (:load-toplevel :compile-toplevel :execute)
(defun load-local-system (package &optional (package-directory #P"./"))
(defun root-path ()
(directory-namestring (or *compile-file-pathname* *load-pathname* #P"./")))
(defun load-local-system (package &optional (package-directory (root-path)))
(let #.`((asdf:*central-registry* (directory package-directory))
;; or #+ASDF2
,@(when #.#1=(find-symbol "*DEFAULT-SOURCE-REGISTRIES*" :asdf)
Expand Down

0 comments on commit 55bbd55

Please sign in to comment.