X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fmodule.lisp;h=fe3b7652987606dce2b307ea25e234eb5bbf7326;hb=65bdee4ba534e82c352cff3eec16473daaf285dd;hp=c21efc46cbd9f33f8c7c9133ffd9405647e1daf7;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/src/code/module.lisp b/src/code/module.lisp index c21efc4..fe3b765 100644 --- a/src/code/module.lisp +++ b/src/code/module.lisp @@ -23,7 +23,7 @@ It is used by PROVIDE and REQUIRE.") (defvar *module-provider-functions* (list 'module-provide-contrib) - "See function documentation for REQUIRE") + "See function documentation for REQUIRE.") ;;;; PROVIDE and REQUIRE @@ -85,7 +85,8 @@ (merge-pathnames (make-pathname :directory (list :relative filesys-name) :name filesys-name) - (truename (posix-getenv "SBCL_HOME")))) + (truename (or (sbcl-homedir-pathname) + (return-from module-provide-contrib nil))))) (fasl-path (merge-pathnames (make-pathname :type *fasl-file-type*) unadorned-path))