r11444: use namestring since file name as two periods in it
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 3 Jan 2007 10:48:46 +0000 (10:48 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 3 Jan 2007 10:48:46 +0000 (10:48 +0000)
clsql.asd

index 0d564b6..20f29d5 100644 (file)
--- a/clsql.asd
+++ b/clsql.asd
@@ -99,9 +99,10 @@ oriented interface."
 (defmethod perform :after ((o load-op) (c (eql (find-system 'clsql))))
   (let* ((init-var (uffi:getenv "CLSQLINIT"))
          (init-file (or (when init-var (probe-file init-var))
-                        (merge-pathnames
-                         (make-pathname :name ".clsql-init" :type "lisp")
-                         (user-homedir-pathname))
+                        (probe-file
+                         (concatenate 'string
+                                      (namestring (user-homedir-pathname))
+                                      ".clsql-init.lisp"))
                         (probe-file "/etc/clsql-init.lisp")
                         #+(or mswin windows win32)
                         (probe-file "c:\\etc\\clsql-init.lisp"))))