fix improperly loading module-suffixes

This commit is contained in:
Spencer Florence 2015-10-22 12:23:37 -05:00
parent 8370643309
commit 2940a186ab

View File

@ -243,7 +243,10 @@
(case new-omits
[(#f) null]
[(all) (->absolute (current-directory))]
[else (map (lambda (x) (if (regexp? x) x (->absolute x)))
[else (map (lambda (x)
(cond [(regexp? x) x]
[(bytes? x) (regexp (bytes->string/locale x))]
[else (->absolute x)]))
new-omits)]))
(define (path-add-argv path argvs)