Fix raco dependencies-graph on relative paths.
This commit is contained in:
parent
8bbc00c7c1
commit
9eb8ab1bc3
|
@ -1342,10 +1342,14 @@
|
||||||
prt))
|
prt))
|
||||||
p))))
|
p))))
|
||||||
(current-load-relative-directory #f)
|
(current-load-relative-directory #f)
|
||||||
(current-directory init-dir)
|
(define relative? (eq? init-dir 'relative))
|
||||||
(add-connections (if (string? filename)
|
(unless relative? ; already there
|
||||||
(string->path filename)
|
(current-directory init-dir))
|
||||||
filename))
|
(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))))))
|
(channel-put done-chan #t))))))
|
||||||
|
|
||||||
(send pasteboard begin-adding-connections)
|
(send pasteboard begin-adding-connections)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user