RFR: 8269760: idea.sh should not invoke cygpath directly

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Jul 1 16:10:10 UTC 2021


On Thu, 1 Jul 2021 14:54:04 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> From the JBS issue:
> 
> Currently idea.sh checks if `CYGPATH` is set, and then continues by invoking `cygpath` directly.
> 
> This doesn't work if `CYGPATH` is not actually set to `cygpath`, but to something else, such as `wslpath`.
> 
> Instead of invoking `cygpath` directly, the value of the `CYGPATH` variable should be used.

Not an expert on the value of these variables, but the changes you have look consistent.

-------------

Marked as reviewed by mcimadamore (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4655


More information about the ide-support-dev mailing list