Skip to content

Commit b97e1aa

Browse files
authored
Merge pull request #5996 from dra27/make-shadow
Don't allow make to become shadowed
2 parents e9bb7ba + e73528e commit b97e1aa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

master_changes.md

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ users)
8080
* [BUG] Fix `x-env-path-rewrite` splitting of values when reverting [#5935 @dra27 - fix #5838]
8181
* [BUG] Rework the logic of := and =: so that an empty entry is correctly preserved on multiple updates [#5935 @dra27 - fix #5926]
8282
* [BUG] Fix incorrect reverting of `=+` and `=:` [#5935 @dra27 - fix #5926]
83+
* For the `Cygwin` internal operator, don't allow `make.exe` to become shadowed [#5996 @dra27]
8384

8485
## Opamfile
8586

src/state/opamEnv.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ let apply_op_zip ~sepfmt var op arg (rl1,l2 as zip) =
315315
in
316316
let shadow_list =
317317
List.filter (contains_in arg)
318-
["bash.exe"; "sort.exe"; "tar.exe"; "git.exe"]
318+
["bash.exe"; "make.exe"; "sort.exe"; "tar.exe"; "git.exe"]
319319
in
320320
let rec loop acc = function
321321
| [] -> acc, [arg]

0 commit comments

Comments
 (0)