mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 22:04:52 +00:00
build_nim.sh: better Windows detection
This commit is contained in:
parent
452419318c
commit
6309c1a348
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user