From 43e0143b3fa419d962252f6200f0800a4d5a9e93 Mon Sep 17 00:00:00 2001 From: David O'Toole Date: Wed, 16 Dec 2009 05:28:01 -0500 Subject: [PATCH] sdkfjhkf --- console.lisp | 26 ++++++++++++++------------ forest/ascent-gateway.png | Bin 218 -> 217 bytes forest/forest.org | 9 ++++++++- make-forest-image.lisp | 3 ++- xe2.lisp | 2 +- 5 files changed, 25 insertions(+), 15 deletions(-) diff --git a/console.lisp b/console.lisp index 0c2721d..2c607b8 100644 --- a/console.lisp +++ b/console.lisp @@ -782,22 +782,24 @@ resource is stored; see also `find-resource'." *resource-table*) val))) +(defvar *executable* nil) + (defvar *module-directories* - (list (make-pathname :directory - (pathname-directory - (make-pathname - :host (pathname-host #.(or *compile-file-truename* - *load-truename*)) - :device (pathname-device #.(or *compile-file-truename* + (list (if *executable* + (make-pathname :directory (pathname-directory (car sb-ext:*posix-argv*))) + (make-pathname :directory + (pathname-directory + (make-pathname + :host (pathname-host #.(or *compile-file-truename* *load-truename*)) - :directory (pathname-directory #.(or *compile-file-truename* - *load-truename*)))))) - ;; (load-time-value - ;; (or #.*compile-file-truename* *load-truename*)))) - ;; ;; auto-config via sb-ext - ;; (make-pathname :directory (pathname-directory (car sb-ext:*posix-argv*)))) + :device (pathname-device #.(or *compile-file-truename* + *load-truename*)) + :directory (pathname-directory #.(or *compile-file-truename* + *load-truename*))))))) "List of directories where XE2 will search for modules. Directories are searched in list order.") +;; (load-time-value +;; (or #.*compile-file-truename* *load-truename*)))) (defun find-module-path (module-name) "Search the `*module-directories*' path for a directory with the diff --git a/forest/ascent-gateway.png b/forest/ascent-gateway.png index 7b48e4bbd7174ba04f940d4492e0e08cad782eac..eb786b8d1d6c0a346dd43d265ec242ec6f79495f 100644 GIT binary patch delta 109 zcmcb`c$0C0KRZ8zPV6Vca}&cfqTM`Q978nDC#OVwncpaK;E03Lf=O-vH!jI&SaED= zJ7=)z<0Lj9ICk{L*9F-?u@wFa4c;hT7glW>hlherYj`6E|0jlN#JGF9IEHAPPwwgLOjKYsFr2`#VoBo1M@LmM8de-z z+RhnVnvs99L9VtA@#`A9}fhb*08Pm$;jX!E~axZuly$i O5O})!xvX