-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert environment variables instead of setting them to an empty string #5039
base: master
Are you sure you want to change the base?
Conversation
if v = [] then | ||
OpamConsole.msg "set -ge %s;\n" k | ||
else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to check for fish if it's ok to unset manpath
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in fact, it seems that it fixes it
In fact it was broken in windows & fish since a while |
Related to #4690 |
@@ -103,6 +109,9 @@ let print_sexp_env env = | |||
let rec print_fish_env env = | |||
let set_arr_cmd ?(modf=fun x -> x) k v = | |||
let v = modf @@ OpamStd.String.split v ':' in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Academic, but this should hopefully fix the tests:
let v = modf @@ OpamStd.String.split v ':' in | |
let v = modf @@ OpamStd.String.split v OpamStd.Sys.path_sep in |
f8e2fe5
to
ee5a9ed
Compare
No description provided.