Closed RyanGlScott closed 2 years ago
We cannot rely on "-master" being at the end of the filepath name in cygwinMSYSCheck on recent MinTTYs.
"-master
cygwinMSYSCheck
To accommodate, this patch updates the implementation of cygwinMSYSCheck to match what git-for-windows does:
git-for-windows
isInfixOf
"cygwin-"
"msys-"
-pty"
"-master"
Fixes #186.
Win32.cabal
Thanks! Ugh did someone move the 32-bit cabal..
Hmm looks like a CDN issue likely.
Thanks, looks good, I'll merge and release tomorrow when Im behind a computer.
We cannot rely on
"-master
" being at the end of the filepath name incygwinMSYSCheck
on recent MinTTYs.Description
To accommodate, this patch updates the implementation of
cygwinMSYSCheck
to match whatgit-for-windows
does:isInfixOf
to check if"cygwin-"
,"msys-"
, and "-pty"
are in the filepath name."-master"
at all, as this seems to assume a naming convention that could change in the future.Motivation and Context
Fixes #186.
Types of changes
Checklist:
Win32.cabal
.