Skip to content

Commit

Permalink
state config: resolve default opam root path
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Dec 6, 2018
1 parent 4eb7be9 commit 38dd76d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/state/opamStateConfig.ml
Expand Up @@ -27,8 +27,8 @@ type t = {
}

let default = {
root_dir = OpamFilename.Op.(
OpamFilename.Dir.of_string (OpamStd.Sys.home ()) / ".opam"
root_dir = OpamFilename.(
concat_and_resolve (Dir.of_string (OpamStd.Sys.home ())) ".opam"
);
current_switch = None;
switch_from = `Default;
Expand Down

0 comments on commit 38dd76d

Please sign in to comment.