fixed path bug

svn: r4946
This commit is contained in:
Eli Barzilay 2006-11-26 07:07:18 +00:00
parent d5528cdb12
commit 7b17bc4efd

View File

@ -63,7 +63,7 @@
(if (>= n prefix-len)
p
(loop (cdr p) (add1 n))))])
(fold-into-web-path (map path->string relative-exp-path))))
(fold-into-web-path relative-exp-path)))
; (listof string) -> string
; result is forward-slashed web path
@ -71,8 +71,8 @@
(define (fold-into-web-path lst)
(foldr (lambda (s a)
(if a
(bytes-append (path->bytes s) #"/" a)
(path->bytes s)))
(bytes-append (path->bytes s) #"/" a)
(path->bytes s)))
#f
lst))