We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb43ba4 commit 1fed6cfCopy full SHA for 1fed6cf
1 file changed
libexec/tfenv-install
@@ -88,12 +88,10 @@ case "$(uname -m)" in
88
# There is no arm64 support for versions:
89
# < 0.11.15
90
# >= 0.12.0, < 0.12.30
91
- if [[ "${version}" =~ (0\.(([0-9]|1[0-1])).[0-1][0-4]?$) ]] || [[ "${version}" =~ 0\.12\.[0-2][0-9]?$ ]] ; then
+ if [[ "${version}" =~ 0\.(([0-9]|1[0-1])).[0-1][0-4]?$ || "${version}" =~ 0\.12\.[0-2][0-9]?$ ]]; then
92
TFENV_ARCH="${TFENV_ARCH:-amd64}";
93
- echo "1"
94
else
95
TFENV_ARCH="${TFENV_ARCH:-arm64}";
96
- echo "2"
97
fi;
98
;;
99
*)
0 commit comments