1 parent bc2762a commit af2f9c5Copy full SHA for af2f9c5
1 file changed
racketscript-compiler/racketscript/compiler/util.rkt
@@ -235,7 +235,8 @@
235
(path->complete-path output-path)]
236
[(list 'general mod-path)
237
(let* ([main (assert (main-source-file) path?)]
238
- [rel-path (find-relative-path (path-parent main) mod-path)])
+ [rel-path (find-relative-path (simple-form-path (path-parent main))
239
+ (simple-form-path mod-path))])
240
(path->complete-path
241
(build-path (output-directory) "modules" (~a rel-path ".js"))))])))
242
0 commit comments