From c1f0ff00c4bbc08f6c37e297b9f93b3e97ad1c7e Mon Sep 17 00:00:00 2001 From: Sascha Mann Date: Tue, 6 Aug 2019 00:46:43 +0200 Subject: [PATCH] scripts: Add MSYS_NT-* => Windows OS selection Travis' Windows environment uses Git Bash, with the `uname` `MSYS_NT-10.0` --- scripts/fetch-configlet | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/fetch-configlet b/scripts/fetch-configlet index 11ee546..a26784c 100644 --- a/scripts/fetch-configlet +++ b/scripts/fetch-configlet @@ -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