don't bother with (make-path "." base)

This commit is contained in:
Alex Shinn 2015-04-27 00:12:07 +09:00
parent 31997cb514
commit 13699a160c

View file

@ -148,7 +148,9 @@
(lib-file (path-relative file dir))
(lib-dir (path-directory lib-file)))
(define (resolve file)
(let ((dest-path (make-path lib-dir file)))
(let ((dest-path (if (equal? lib-dir ".")
file
(make-path lib-dir file))))
(list 'rename (make-path dir dest-path) dest-path)))
(define (ffi-file-includes file)
(let lp ((forms (guard (exn (else '()))