Skip to content

Commit

Permalink
"opam config -env" now explicitly exports the variables it prints to …
Browse files Browse the repository at this point in the history
…the external environment.

Closes ocaml#47
  • Loading branch information
avsm committed Jul 14, 2012
1 parent 861e0a0 commit 0213811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ml
Expand Up @@ -788,7 +788,7 @@ let get_env t =

let print_env env =
List.iter (fun (k,v) ->
Globals.msg "%s=%s\n" k v
Globals.msg "%s=%s; export %s;\n" k v k;
) env.new_env

let rec proceed_tochange t nv_old nv =
Expand Down

0 comments on commit 0213811

Please sign in to comment.