setup/link: fix collection-root results for version regexps
This commit is contained in:
parent
480ae5e262
commit
0a708b040a
|
@ -196,7 +196,9 @@
|
||||||
(if root?
|
(if root?
|
||||||
;; Return root paths:
|
;; Return root paths:
|
||||||
(for/list ([e (in-list new-table)]
|
(for/list ([e (in-list new-table)]
|
||||||
#:when (eq? 'root (car e)))
|
#:when (eq? 'root (car e))
|
||||||
|
#:when (or (null? (cddr e))
|
||||||
|
(regexp-match? (caddr e) (version))))
|
||||||
(simplify (cadr e)))
|
(simplify (cadr e)))
|
||||||
;; Return list of collections mapped for this version:
|
;; Return list of collections mapped for this version:
|
||||||
(let ([ht (make-hash)])
|
(let ([ht (make-hash)])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user