cpanpm icon indicating copy to clipboard operation
cpanpm copied to clipboard

first time setup on cygwin with strawberry also installed picks up wrong patch executable, leading to an endless loop

Open wchristian opened this issue 3 years ago • 0 comments

I get:

Press SPACE and ENTER to disable patch Press SPACE and ENTER to disable patch Press SPACE and ENTER to disable patch Press SPACE and ENTER to disable patch

The executable it finds is:

/cygdrive/c/Strawberry/c/bin/patch
$ patch --version
patch 2.5.9
[...]

I can workaround this locally by installing cygwin's patch package.

/usr/bin/patch
$ patch --version
GNU patch 2.7.4
[...]

However i think the first time setup should recognize that the patch it found is not the one it needs, whether this happens due to matching the version string, or by rejecting any patch that is in /cygdrive.

wchristian avatar Mar 29 '21 10:03 wchristian