Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
scripts: Add MSYS_NT-* => Windows OS selection
Browse files Browse the repository at this point in the history
Travis' Windows environment uses Git Bash, with the `uname` `MSYS_NT-10.0`
  • Loading branch information
SaschaMann authored and Katrina Owen committed Aug 8, 2019
1 parent 3e22c9f commit c1f0ff0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions scripts/fetch-configlet
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ get_version () {
}

case "$(uname)" in
(Darwin*) OS='mac' ;;
(Linux*) OS='linux' ;;
(Windows*) OS='windows' ;;
(MINGW*) OS='windows' ;;
(*) OS='linux' ;;
(Darwin*) OS='mac' ;;
(Linux*) OS='linux' ;;
(Windows*) OS='windows' ;;
(MINGW*) OS='windows' ;;
(MSYS_NT-*) OS='windows' ;;
(*) OS='linux' ;;
esac

case "$OS" in
Expand Down

0 comments on commit c1f0ff0

Please sign in to comment.