Fix raco test on relative paths.

This commit is contained in:
Vincent St-Amour 2014-01-06 18:00:29 -05:00
parent c97ce693f3
commit 3a025efcce

View File

@ -735,7 +735,9 @@
#f #f
(path->collects-relative p #:cache collects-cache))) (path->collects-relative p #:cache collects-cache)))
(when (list? c) (when (list? c)
(check-info/parents base (check-info/parents (if (path? base)
(path->complete-path base)
(current-directory)) ; got 'relative
(apply build-path (map bytes->path (reverse (cdr (reverse (cdr c))))))))) (apply build-path (map bytes->path (reverse (cdr (reverse (cdr c)))))))))
(define (normalize-info-path p) (define (normalize-info-path p)