From 6309c1a348c885da81022780bee4fed02a34a704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Wed, 12 Jun 2019 21:10:35 +0200 Subject: [PATCH] build_nim.sh: better Windows detection --- build_nim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_nim.sh b/build_nim.sh index 3a2e0467f..63b180053 100755 --- a/build_nim.sh +++ b/build_nim.sh @@ -25,7 +25,7 @@ UCPU="" [[ -z "$NIM_BUILD_MSG" ]] && NIM_BUILD_MSG="Building the Nim compiler" # Windows detection -if uname | grep -qi mingw; then +if uname | grep -qiE "mingw|msys"; then ON_WINDOWS=1 EXE_SUFFIX=".exe" else