Skip to content

Commit

Permalink
Add support of Linux ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Mulobaev committed Jun 30, 2021
1 parent 2989f1a commit d22ffb4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libexec/tfenv-install
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ if [ -f "${dst_path}/terraform" ]; then
exit 0;
fi;

# Add support of Linux ARM64
case "$(uname -m)" in
aarch64*)
TFENV_ARCH="${TFENV_ARCH:-arm64}";
;;
*)
TFENV_ARCH="${TFENV_ARCH:-amd64}";
;;
esac;

TFENV_ARCH="${TFENV_ARCH:-amd64}";
case "$(uname -s)" in
Darwin*)
Expand Down

0 comments on commit d22ffb4

Please sign in to comment.