diff options
author | Thomas O'Donnell <andytom@users.noreply.github.com> | 2021-01-09 15:45:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-09 15:45:42 +0100 |
commit | 2dbee86afefafc75273284e30961c884bed9eb06 (patch) | |
tree | 0153c20964a3e746cdd67046143c0460f242bcf0 /install | |
parent | 3fc9f490bb91bc497e90cd669ea32fa1cc28918b (diff) |
fix(install): Detect cygwin_nt as Windows (#1989)
This fixes the install script by detecting cygwin_nt* as Windows.
Diffstat (limited to 'install')
-rwxr-xr-x | install/install.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install/install.sh b/install/install.sh index c14d3b9e0..2713d29ee 100755 --- a/install/install.sh +++ b/install/install.sh @@ -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. |