Closed ElvenSpellmaker closed 9 months ago
Hey I believe this worked in the past but now tfenv is downloading Linux binaries from Cygwin.
tfenv
From the ~/.tfenv/libexec/tfenv-install script I notice this on line 95:
~/.tfenv/libexec/tfenv-install
CYGWINNT*) kernel="windows"; ;;
However uname -s for Cygwin produces:
uname -s
$ uname -s CYGWIN_NT-10.0-19044
It seems to have been changed from CYGWIN_NT* to CYGWINNT* in this commit: https://github.com/tfutils/tfenv/commit/0a60714de58fe4abcf43afe61e44a1f86ba7f499 I'm not sure this was intentional? (Also note how MSYS_NT* changes to MSYSNT* too)
CYGWIN_NT*
CYGWINNT*
MSYS_NT*
MSYSNT*
(Also as a side point the binaries it does download are missing x and so manual intervention is always required, a quick chmod u+x after downloading on the terraform.exe would be nice)
x
chmod u+x
terraform.exe
Hey I believe this worked in the past but now
tfenv
is downloading Linux binaries from Cygwin.From the
~/.tfenv/libexec/tfenv-install
script I notice this on line 95:However
uname -s
for Cygwin produces:It seems to have been changed from
CYGWIN_NT*
toCYGWINNT*
in this commit: https://github.com/tfutils/tfenv/commit/0a60714de58fe4abcf43afe61e44a1f86ba7f499 I'm not sure this was intentional? (Also note howMSYS_NT*
changes toMSYSNT*
too)(Also as a side point the binaries it does download are missing
x
and so manual intervention is always required, a quickchmod u+x
after downloading on theterraform.exe
would be nice)