Commit 712cebc4 authored by Gary King's avatar Gary King
Browse files

A patch from Richard Kreuter that allows pathname defaulting to work

better with *load-truename* and *default-pathname-defaults*; this makes
it easier to work with defsystems in the REPL.
parent 214a2f29
;;; This is asdf: Another System Definition Facility. $Revision: 1.104 $
;;; This is asdf: Another System Definition Facility. $Revision: 1.105 $
;;;
;;; Feedback, bug reports, and patches are all welcome: please mail to
;;; <cclan-list@lists.sf.net>. But note first that the canonical
......@@ -112,7 +112,7 @@
(in-package #:asdf)
(defvar *asdf-revision* (let* ((v "$Revision: 1.104 $")
(defvar *asdf-revision* (let* ((v "$Revision: 1.105 $")
(colon (or (position #\: v) -1))
(dot (position #\. v)))
(and v colon dot
......@@ -957,8 +957,9 @@ system."))
:module (coerce-name ',name)
:pathname
(or ,pathname
(pathname-sans-name+type
(resolve-symlinks *load-truename*))
(when *load-truename*
(pathname-sans-name+type
(resolve-symlinks *load-truename*)))
*default-pathname-defaults*)
',component-options))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment