Skip to content

Commit

Permalink
Merge pull request #5996 from dra27/make-shadow
Browse files Browse the repository at this point in the history
Don't allow make to become shadowed
  • Loading branch information
rjbou authored Jun 6, 2024
2 parents e9bb7ba + e73528e commit b97e1aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ users)
* [BUG] Fix `x-env-path-rewrite` splitting of values when reverting [#5935 @dra27 - fix #5838]
* [BUG] Rework the logic of := and =: so that an empty entry is correctly preserved on multiple updates [#5935 @dra27 - fix #5926]
* [BUG] Fix incorrect reverting of `=+` and `=:` [#5935 @dra27 - fix #5926]
* For the `Cygwin` internal operator, don't allow `make.exe` to become shadowed [#5996 @dra27]

## Opamfile

Expand Down
2 changes: 1 addition & 1 deletion src/state/opamEnv.ml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ let apply_op_zip ~sepfmt var op arg (rl1,l2 as zip) =
in
let shadow_list =
List.filter (contains_in arg)
["bash.exe"; "sort.exe"; "tar.exe"; "git.exe"]
["bash.exe"; "make.exe"; "sort.exe"; "tar.exe"; "git.exe"]
in
let rec loop acc = function
| [] -> acc, [arg]
Expand Down

0 comments on commit b97e1aa

Please sign in to comment.