Skip to content
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

resolve command: don't select directories #5606

Merged
merged 5 commits into from
Sep 26, 2023
Merged

Conversation

rjbou
Copy link
Collaborator

@rjbou rjbou commented Jul 19, 2023

This PR contains 2 different fixes, that can't be split. It fixes #5585, #5650, #5626, and partially #5597, as it fixes command resolve that is it happen to be a directory. I also add a test for that, and to have the test working, reftest engine needs a fix. It was keeping duplicated environment variables in environment given as argument to process creation, and it was not expanding PATH on variable export.
It also add syntax to declare env vars paths additions PATH+=path/to or PATH=+path/to, to make it portable between unix & windows (: versus ;).

Todo:

  • update changes

@rjbou rjbou added this to the 2.2.0~alpha2 milestone Jul 19, 2023
@rjbou rjbou removed this from the 2.2.0~alpha2 milestone Jul 21, 2023
@rjbou rjbou mentioned this pull request Jul 24, 2023
This was linked to issues Jul 24, 2023
Copy link
Member

@AltGr AltGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch !

src/core/opamSystem.ml Outdated Show resolved Hide resolved
@rjbou
Copy link
Collaborator Author

rjbou commented Sep 21, 2023

Removed new test on windows (unix only) until ocaml/dune#8651 is resolved.

@rjbou rjbou merged commit 3099003 into ocaml:master Sep 26, 2023
29 checks passed
@dra27 dra27 mentioned this pull request Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

opam init using the wrong wget Permission Denied error
3 participants