From bcfaed267521ac255a6b2473e1e89ed33002d048 Mon Sep 17 00:00:00 2001 From: Jack Blower Date: Tue, 21 Feb 2023 13:02:36 +0000 Subject: [PATCH 1/2] fix: Underscores are needed for Cygwin-like tools --- libexec/tfenv-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/tfenv-install b/libexec/tfenv-install index 4aa7607..15ab531 100755 --- a/libexec/tfenv-install +++ b/libexec/tfenv-install @@ -89,10 +89,10 @@ case "$(uname -s)" in MINGW64*) kernel="windows"; ;; - MSYSNT*) + MSYS_NT*) kernel="windows"; ;; - CYGWINNT*) + CYGWIN_NT*) kernel="windows"; ;; FreeBSD*) From 521e2c523c1838b2fef95b3c659290361f9e9f4e Mon Sep 17 00:00:00 2001 From: Zordrak Date: Tue, 19 Dec 2023 14:49:40 +0000 Subject: [PATCH 2/2] Update tfenv-install Modify to allow for no underscore also --- libexec/tfenv-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/tfenv-install b/libexec/tfenv-install index 15ab531..9b7d69a 100755 --- a/libexec/tfenv-install +++ b/libexec/tfenv-install @@ -89,10 +89,10 @@ case "$(uname -s)" in MINGW64*) kernel="windows"; ;; - MSYS_NT*) + MSYS*NT*) kernel="windows"; ;; - CYGWIN_NT*) + CYGWIN*NT*) kernel="windows"; ;; FreeBSD*)