The output of the module-provider has to be T if it succeeded

This commit is contained in:
jjgarcia 2005-02-17 13:26:03 +00:00
parent 80e4cedae0
commit a67b205a58

View file

@ -68,8 +68,9 @@
(pushnew #'(lambda (module)
(let* ((sysdir (translate-logical-pathname #P"SYS:"))
(module (string module)))
(let ((path (merge-pathnames (make-pathname :name module) sysdir)))
(if (probe-file path) (load path)))
(let ((path (merge-pathnames (make-pathname :name (string-downcase module)) sysdir)))
(if (probe-file path) (load path)))))
(or
(let ((path (merge-pathnames (make-pathname :name module) sysdir)))
(if (probe-file path) (load path)))
(let ((path (merge-pathnames (make-pathname :name (string-downcase module)) sysdir)))
(if (probe-file path) (load path))))))
*module-provider-functions*)