fix(install): Detect cygwin_nt as Windows (#1989)

This fixes the install script by detecting cygwin_nt* as Windows.
This commit is contained in:
Thomas O'Donnell 2021-01-09 15:45:42 +01:00 committed by GitHub
parent 3fc9f490bb
commit 2dbee86afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ detect_platform() {
case "${platform}" in
msys_nt*) platform="pc-windows-msvc" ;;
cygwin_nt*) platform="pc-windows-msvc";;
# mingw is Git-Bash
mingw*) platform="pc-windows-msvc" ;;
# use the statically compiled musl bins on linux to avoid linking issues.