Skip to content

Commit

Permalink
Update src/client/opamSolution.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Louis Gesbert <louis.gesbert@ocamlpro.com>
  • Loading branch information
lefessan and AltGr authored Oct 12, 2020
1 parent 1101195 commit 4814e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/opamSolution.ml
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ let parallel_apply t ~requested ?add_roots ~assume_built ?(force_remove=false)
OpamPath.Switch.build t.switch_global.root t.switch nv in
if not OpamClientConfig.(!r.keep_build_dir) then begin
OpamFilename.rmdir build_dir;
OpamFilename.remove ( OpamPath.Switch.build_opam ~build_dir )
OpamFilename.remove (OpamFile.filename (OpamPath.Switch.build_opam t.switch_global.root t.switch nv))
end
| `Remove _ | `Install _ | `Build _ | `Fetch _ -> ()
| _ -> assert false)
Expand Down

0 comments on commit 4814e6b

Please sign in to comment.