raco setup: fix PLTCOMPILEDROOTS handling when checking pkg deps
Closes PR 14540
This commit is contained in:
parent
8828865c79
commit
0f6cdbf9e3
|
@ -372,12 +372,11 @@
|
|||
values
|
||||
(for*/list ([root (in-list (current-compiled-file-roots))]
|
||||
[mode (in-list (use-compiled-file-paths))])
|
||||
(define dir (build-path path mode))
|
||||
(define compiled-dir
|
||||
(cond
|
||||
[(eq? root 'same) dir]
|
||||
[(relative-path? root) (build-path root dir)]
|
||||
[else (reroot-path dir root)]))
|
||||
[(eq? root 'same) (build-path path mode)]
|
||||
[(relative-path? root) (build-path path root mode)]
|
||||
[else (reroot-path (build-path path mode) root)]))
|
||||
(and (directory-exists? compiled-dir)
|
||||
compiled-dir))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user