Skip to content

Commit

Permalink
Fix ocaml#266
Browse files Browse the repository at this point in the history
Build directories are now removed when builds are successful.
  • Loading branch information
samoht committed Nov 7, 2012
1 parent 48936e4 commit 37c8570
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client/opamSolution.ml
Expand Up @@ -147,7 +147,9 @@ let proceed_to_install t nv =
(String.concat "\n" (List.map print !warnings));
OpamGlobals.exit 2;
)
)
);
if not !OpamGlobals.debug then
OpamFilename.rmdir build_dir

let pinned_path t nv =
let name = OpamPackage.name nv in
Expand Down

0 comments on commit 37c8570

Please sign in to comment.