reformat, etc
svn: r15361
This commit is contained in:
parent
e0e8c86688
commit
c072d23baf
|
@ -316,15 +316,17 @@
|
||||||
null path)))
|
null path)))
|
||||||
|
|
||||||
(define (pathlist-closure paths)
|
(define (pathlist-closure paths)
|
||||||
(let loop ([paths (map (lambda (p)
|
(let loop ([paths
|
||||||
(let ([p2 (if (link-exists? p)
|
(map (lambda (p)
|
||||||
|
(simplify-path
|
||||||
|
(if (link-exists? p)
|
||||||
(let ([p2 (resolve-path p)])
|
(let ([p2 (resolve-path p)])
|
||||||
(if (relative-path? p2)
|
(if (relative-path? p2)
|
||||||
(let-values ([(base name dir?) (split-path p)])
|
(let-values ([(base name dir?) (split-path p)])
|
||||||
(build-path base p2))
|
(build-path base p2))
|
||||||
p2))
|
p2))
|
||||||
p)])
|
p)
|
||||||
(simplify-path p2 #f)))
|
#f))
|
||||||
paths)]
|
paths)]
|
||||||
[r '()])
|
[r '()])
|
||||||
(if (null? paths)
|
(if (null? paths)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user