setup/cross-system: configure reader properly
This commit is contained in:
parent
8e162082e1
commit
7b4c91ea21
|
@ -15,9 +15,11 @@
|
||||||
(define ht (and lib-dir
|
(define ht (and lib-dir
|
||||||
(let ([f (build-path lib-dir "system.rktd")])
|
(let ([f (build-path lib-dir "system.rktd")])
|
||||||
(and (file-exists? f)
|
(and (file-exists? f)
|
||||||
(let ([ht (call-with-input-file*
|
(let ([ht (call-with-default-reading-parameterization
|
||||||
f
|
(lambda ()
|
||||||
read)])
|
(call-with-input-file*
|
||||||
|
f
|
||||||
|
read)))])
|
||||||
(and (hash? ht)
|
(and (hash? ht)
|
||||||
(for/and ([sym (in-list (list*
|
(for/and ([sym (in-list (list*
|
||||||
'library-subpath
|
'library-subpath
|
||||||
|
|
Loading…
Reference in New Issue
Block a user