Support the MSYS2 platform
It's pretty much like Cygwin as far as these things go, so do the same things.
This commit is contained in:
parent
c851664e04
commit
129e3431ae
|
@ -233,7 +233,7 @@ def _location(cfg: ConfigFile, topdir: Optional[PathType] = None) -> str:
|
|||
if 'BSD' in plat:
|
||||
return '/etc/westconfig'
|
||||
|
||||
if 'CYGWIN' in plat:
|
||||
if 'CYGWIN' in plat or 'MSYS_NT' in plat:
|
||||
# Cygwin can handle windows style paths, so make sure we
|
||||
# return one. We don't want to use os.path.join because
|
||||
# that uses '/' as separator character, and the ProgramData
|
||||
|
|
Loading…
Reference in New Issue