updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / sbcl-run-program-fix / fix-source-path.lisp
blob62599a2a1d78422a45d54b80972d61bbdb46a6f8
1 (in-package "COMMON-LISP-USER")
3 (let* ((parent (make-pathname :directory '(:absolute "usr" "share" "sbcl-source")))
4 (src
5 (merge-pathnames
6 (make-pathname :directory '(:relative "src" :wild-inferiors)
7 :name :wild :type :wild)
8 parent))
9 (contrib
10 (merge-pathnames
11 (make-pathname :directory '(:relative "contrib" :wild-inferiors)
12 :name :wild :type :wild)
13 parent)))
14 (setf (logical-pathname-translations "SYS")
15 `(("SYS:SRC;**;*.*.*" ,src)
16 ("SYS:CONTRIB;**;*.*.*" ,contrib))))
18 (ignore-errors
19 (sb-ext:gc :full t)
20 (sb-ext:save-lisp-and-die "sbcl-new.core"))