`raco decompile' fix

This commit is contained in:
Matthew Flatt 2012-06-29 10:49:51 -06:00
parent 9eb4f0e278
commit c69ea5569f

View File

@ -185,7 +185,9 @@
(if (path? p)
(let ([d (current-load-relative-directory)])
(path->string (if d
(find-relative-path d p #:more-than-root? #t)
(find-relative-path (simplify-path d #t)
(simplify-path p #f)
#:more-than-root? #t)
p)))
p)))
(if (eq? 0 (car req))