client9 / shlib

portable functions for posix shell environments
The Unlicense
360 stars 36 forks source link

GOOS value windows terminal with MSYS2 #37

Open t-ricci-delta opened 3 years ago

t-ricci-delta commented 3 years ago

tommaso.ricci@LI-017 MINGW64 ~ $ curl -sfL git.io/antibody | sh -s - -b . getantibody/antibody crit uname_os_check 'MINGW64_NT-10.0-19042' got converted to 'mingw64_nt-10.0-19042' which is not a GOOS value. Please file bug at https://github.com/client9/shlib

atvi-jasmine-alvarado-salinas commented 3 years ago

I get something similar for trying to install tfswitch:

$ curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9159 100 9159 0 0 28181 0 --:--:-- --:--:-- --:--:-- 28268 twarrensbox/terraform-switcher crit uname_os_check 'MINGW64_NT-10.0-19042' got converted to 'mingw64_nt-10.0-19042' which is not a GOOS value. Please file bug at https://github.com/client9/shlib

kvendingoldo commented 5 months ago

btw. you can also use tenv that support Terraform as well as OpenTofu (and Terragrunt :) ) in one tool. It allow you to simplify version management and can do much more, than tfswitch.