fix stupid bug

This commit is contained in:
Jeremie Dimino 2017-05-10 16:44:01 +01:00
parent 76db4d5641
commit 4c9f894fe4
1 changed files with 2 additions and 2 deletions

View File

@ -156,9 +156,9 @@ let strip_colors_for_stderr s =
let setup_env_for_colors = lazy(
if Lazy.force stderr_supports_colors then begin
let set var value =
match Sys.getenv with
match Sys.getenv var with
| exception Not_found -> Unix.putenv var value
| _ -> ()
| (_ : string) -> ()
in
set "OPAMCOLOR" "always";
set "OCAML_COLOR" "always";