Skip to content

Commit

Permalink
Merge pull request ocaml#6190 from dra27/shadow-install
Browse files Browse the repository at this point in the history
Env: Add install.exe to the shadow program list
  • Loading branch information
kit-ty-kate authored Sep 4, 2024
2 parents 26f7462 + dfca6b0 commit 291c276
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -88,6 +88,7 @@ users)

## Env
* Make the shell environment update hint easier to copy/paste [#6159 @kit-ty-kate - fix #6158]
* Add install.exe to the list of non-shadowed programs when adding Cygwin's bin directory to PATH (ocamlfind et al can be affected by Vim for Windows) [#6190 @dra27]

## Opamfile
* Make all writes atomic [#5489 @kit-ty-kate]
Expand Down
4 changes: 3 additions & 1 deletion src/state/opamEnv.ml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ let rezip_to_string ?insert z =
join_var (rezip ?insert z)

let cygwin_non_shadowed_programs =
["bash.exe"; "make.exe"; "sort.exe"; "tar.exe"]
[ "bash.exe"; "make.exe"; "sort.exe"; "tar.exe";
"install.exe"; (* from Vim for Windows *)
]

let apply_op_zip ~sepfmt var op arg (rl1,l2 as zip) =
let arg = transform_format ~sepfmt var arg in
Expand Down

0 comments on commit 291c276

Please sign in to comment.