On Fri, Apr 08, 2022 at 06:07:01PM +0200, Tomas Kalibera wrote: > Works for me on all those 3 systems (just needed to add \ at the end of the > line after "/dev/null "). And checking OSTYPE against "msys" is a common > pattern in Msys2 patches, so I assume it is correct for Msys2.
Commited in df780e22a5. > OSTYPE is "cygwin" for me on cygwin and "msys" on the other two. It would be > tempting to ask whether we could be testing OSTYPE only, also for cygwin, > but I don't know, maybe earlier some derived systems behaved differently and > that is why the check was so complicated. I don't know either.