Fix raco dependencies-graph on relative paths.

This commit is contained in:
Vincent St-Amour 2014-04-14 16:40:14 -04:00
parent 8bbc00c7c1
commit 9eb8ab1bc3

View File

@ -1342,10 +1342,14 @@
prt))
p))))
(current-load-relative-directory #f)
(current-directory init-dir)
(add-connections (if (string? filename)
(string->path filename)
filename))
(define relative? (eq? init-dir 'relative))
(unless relative? ; already there
(current-directory init-dir))
(define file-path (if (string? filename)
(string->path filename)
filename))
(add-connections
(if relative? (build-path (current-directory) file-path) file-path))
(channel-put done-chan #t))))))
(send pasteboard begin-adding-connections)