Use Path.absolute for OCAML_TOPLEVEL_PATH

This commit is contained in:
Jeremie Dimino 2017-03-10 10:57:09 +00:00
parent 3cb0372f8b
commit 629b4d0044
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ let create ~(kind : Kind.t) ~path ~env ~name ~merlin =
; for_host = None
; build_dir
; path
; toplevel_path = Option.map (get_env env "OCAML_TOPLEVEL_PATH") ~f:Path.of_string
; toplevel_path = Option.map (get_env env "OCAML_TOPLEVEL_PATH") ~f:Path.absolute
; ocaml_bin = dir
; ocaml = Path.relative dir "ocaml"