On Mon, 28 Apr 2025 11:03:16 GMT, kuaiwei <d...@openjdk.org> wrote: > The patch fix error when creating devkit on wsl/msys2 . > * Msys2 can be supported like cygwin > * In wsl, it can not test path name in windows format, like `if [ -d > "d:/VisualStuio"]` . The path must be converted as linux style before testing. > * In msys2, `cmd.exe /c` doesn't work because "/c" is converted as "c:", it > can be work around with `cmd.exe //c`. see > https://superuser.com/questions/526736/how-to-run-internal-cmd-command-from-the-msys-shell > > I tested it with win10 + wsl/msys2 + VisualStudio 2022(17.13.6)
This pull request has now been integrated. Changeset: 31e70e41 Author: Kuai Wei <kuaiwei...@alibaba-inc.com> Committer: SendaoYan <s...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/31e70e41d56777ba6f4bba4cc3266130646b3202 Stats: 17 lines in 1 file changed: 12 ins; 0 del; 5 mod 8355697: Create windows devkit on wsl and msys2 Reviewed-by: ihse, erikj ------------- PR: https://git.openjdk.org/jdk/pull/24916