Skip to content

Commit

Permalink
fix(install): Detect cygwin_nt as Windows (starship#1989)
Browse files Browse the repository at this point in the history
This fixes the install script by detecting cygwin_nt* as Windows.
  • Loading branch information
andytom authored Jan 9, 2021
1 parent 3fc9f49 commit 2dbee86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2dbee86

Please sign in to comment.