Commit 621cf0d5 authored by Daniel Barlow's avatar Daniel Barlow
Browse files

patch for use in sbcl: delay evaluation of *central-registry* components so...

patch for use in sbcl: delay evaluation of *central-registry* components so that asdf in a dumped core is useful
parent 05ac1c1b
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
;;; This is asdf: Another System Definition Facility.  $Revision: 1.66 $
;;; This is asdf: Another System Definition Facility.  $Revision: 1.67 $
;;;
;;; Feedback, bug reports, and patches are all welcome: please mail to
;;; <cclan-list@lists.sf.net>.  But note first that the canonical
@@ -88,7 +88,7 @@

(in-package #:asdf)

(defvar *asdf-revision* (let* ((v "$Revision: 1.66 $")
(defvar *asdf-revision* (let* ((v "$Revision: 1.67 $")
			       (colon (or (position #\: v) -1))
			       (dot (position #\. v)))
			  (and v colon dot 
@@ -1018,18 +1018,18 @@ output to *trace-output*. Returns the shell's exit code."
	(provide name))))

  (pushnew
   (merge-pathnames "systems/"
		    (truename (sb-ext:posix-getenv "SBCL_HOME")))
   '(merge-pathnames "systems/"
     (truename (sb-ext:posix-getenv "SBCL_HOME")))
   *central-registry*)
  
  (pushnew
   (merge-pathnames "site-systems/"
 		    (truename (sb-ext:posix-getenv "SBCL_HOME")))
   '(merge-pathnames "site-systems/"
     (truename (sb-ext:posix-getenv "SBCL_HOME")))
   *central-registry*)
  
  (pushnew
   (merge-pathnames ".sbcl/systems/"
 		    (user-homedir-pathname))
   '(merge-pathnames ".sbcl/systems/"
     (user-homedir-pathname))
   *central-registry*)
  
  (pushnew 'module-provide-asdf sb-ext:*module-provider-functions*))