fix stupid bug
This commit is contained in:
parent
76db4d5641
commit
4c9f894fe4
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue