From 9c984bbe5c74570c30545dcaf666cf2aae02f60b Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Tue, 24 Oct 2023 12:29:05 +0200 Subject: [PATCH] tools/sethost.sh: add MSYS2 MSYS environment add MSYS2 MSYS environment --- tools/sethost.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/sethost.sh b/tools/sethost.sh index fbeca61302..5c7aa6a2cd 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