fix `raco exe'
This commit is contained in:
parent
27603fafba
commit
0736e62a49
|
@ -446,14 +446,16 @@
|
||||||
(if (path? module-path)
|
(if (path? module-path)
|
||||||
(path->complete-path module-path)
|
(path->complete-path module-path)
|
||||||
module-path)])
|
module-path)])
|
||||||
(syntax-case (expand `(,#'module m racket/base
|
(define e (expand `(,#'module m racket/kernel
|
||||||
(#%require (only ,module-path)
|
(#%require (only ,module-path)
|
||||||
racket/runtime-path)
|
racket/runtime-path)
|
||||||
(runtime-paths ,module-path))) (quote)
|
(runtime-paths ,module-path))))
|
||||||
[(_ m mz (#%mb rfs req (quote (spec ...))))
|
(syntax-case e (quote)
|
||||||
|
[(_ m mz (#%mb req (quote (spec ...))))
|
||||||
(syntax->datum #'(spec ...))]
|
(syntax->datum #'(spec ...))]
|
||||||
[_else (error 'create-empbedding-executable
|
[_else (error 'create-empbedding-executable
|
||||||
"expansion mismatch when getting external paths")]))))]
|
"expansion mismatch when getting external paths: ~e"
|
||||||
|
(syntax->datum e))]))))]
|
||||||
|
|
||||||
[extra-runtime-paths (filter
|
[extra-runtime-paths (filter
|
||||||
values
|
values
|
||||||
|
|
Loading…
Reference in New Issue
Block a user