diff --git a/lisp/init.lisp b/lisp/init.lisp index 6122fbb..8bfa4d2 100644 --- a/lisp/init.lisp +++ b/lisp/init.lisp @@ -179,10 +179,11 @@ have the latest asdf, and this file has a workaround for this. (when (probe-file path) (cl:load path :verbose (verbose)) (loop with symbol = (read-from-string "ql:*local-project-directories*") - for path in `(,local ,@(and (or path (and environment (getenv environment))) - `(,(merge-pathnames (format nil "env/~A/local-projects/" (opt "roswellenv")) - (opt "homedir")) - ,(merge-pathnames "local-projects/" (opt "homedir"))))) + for path in `(,local + ,(when (opt "roswellenv") + (merge-pathnames (format nil "env/~A/local-projects/" (opt "roswellenv")) + (opt "homedir"))) + ,(merge-pathnames "local-projects/" (opt "homedir"))) for probe = (and path (or (ignore-errors (probe-file path)) #+clisp(ext:probe-directory path))) when probe diff --git a/lisp/util-install-quicklisp.lisp b/lisp/util-install-quicklisp.lisp index f3c8cf8..4a2577d 100644 --- a/lisp/util-install-quicklisp.lisp +++ b/lisp/util-install-quicklisp.lisp @@ -122,7 +122,7 @@ (defun install-ros (from) (let ((to (ensure-directories-exist (make-pathname - :defaults (merge-pathnames "bin/" (homedir)) + :defaults (merge-pathnames "bin/" (checkoutdir)) :name (pathname-name from) :type (unless (or (equalp (pathname-type from) "ros")) (pathname-type from)))))) diff --git a/lisp/util.lisp b/lisp/util.lisp index 55fb5ee..a67ef80 100644 --- a/lisp/util.lisp +++ b/lisp/util.lisp @@ -3,7 +3,7 @@ (:use :cl) (:import-from :ros :opt :ensure-asdf) (:export - :uname :uname-m :homedir :config :impl :which :config-env + :uname :uname-m :homedir :config :impl :which :config-env :checkoutdir :parse-version-spec :download :expand :sh :chdir :system :module :core-extention :clone-github :opt :read-call :set-opt :copy-dir :roswell-installable-searcher :setenv :unsetenv :ensure-asdf))