Recognize shells reporting as MINGW under windows.
authorklebinger.andreas@gmx.at <klebinger.andreas@gmx.at>
Thu, 8 Feb 2018 00:09:55 +0000 (00:09 +0000)
committerTamar Christina <tamar@zhox.com>
Thu, 8 Feb 2018 00:11:05 +0000 (00:11 +0000)
commit1364fe623f9216108a285a8804a27bdd8dfea3c4
tree9dcfc698cd89540fff9ad0b99790cca396ab3509
parent40748b305de4197ba8cfe178cea87a8234cf534b
Recognize shells reporting as MINGW under windows.

Summary:
My msys instance at least reports MINGW instead of MSYS for uname.
This commit adjusts the regex to match either one.

Without this some errors occur because of missing .exe extensions in
file names.

This fixes #14654

Test Plan: make

Reviewers: O26 nofib, Phyx, bgamari

Reviewed By: Phyx, bgamari

Subscribers: bgamari, Phyx

GHC Trac Issues: #14654

Differential Revision: https://phabricator.haskell.org/D4297
mk/boilerplate.mk