avoid path->string on a string
svn: r3928
This commit is contained in:
parent
8848d0dedd
commit
c769bf6f96
|
@ -73,7 +73,8 @@
|
||||||
(path->string (collection-path "slib")))
|
(path->string (collection-path "slib")))
|
||||||
;; look for slib in a few common places
|
;; look for slib in a few common places
|
||||||
(ormap (lambda (dir)
|
(ormap (lambda (dir)
|
||||||
(and (directory-exists? dir) (path->string dir)))
|
(and (directory-exists? dir)
|
||||||
|
(if (path? dir) (path->string dir) dir)))
|
||||||
'("/usr/share/slib"
|
'("/usr/share/slib"
|
||||||
;; this is for RH/Fedora that uses umb-scheme for slib
|
;; this is for RH/Fedora that uses umb-scheme for slib
|
||||||
"/usr/share/umb-scheme/slib"))
|
"/usr/share/umb-scheme/slib"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user