diff --git a/tools/sethost.sh b/tools/sethost.sh index fbeca61302d..5c7aa6a2cda 100755 --- a/tools/sethost.sh +++ b/tools/sethost.sh @@ -79,6 +79,7 @@ done # Cygwin: CYGWIN_NT-10.0-WOW # Linux: Linux # MSYS: MINGW32_NT-6.2 +# MSYS2: MSYS_NT-6.3-9600 # BSD: FreeBSD, OpenBSD, NetBSD, *BSD if [ -z "$host" ]; then @@ -98,6 +99,10 @@ if [ -z "$host" ]; then host=windows wenv=msys ;; + MSYS*) + host=windows + wenv=msys + ;; *) # Assume linux as a fallback