Skip to content

Commit

Permalink
fix aarch64 fetch install (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymilne authored Nov 16, 2021
1 parent a376f14 commit e4eb89e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bootstrap-gruntwork-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set -e
readonly BIN_DIR="/usr/local/bin"
readonly USER_DATA_DIR="/etc/user-data"

readonly DEFAULT_FETCH_VERSION="v0.4.1"
readonly DEFAULT_FETCH_VERSION="v0.4.2"
readonly FETCH_DOWNLOAD_URL_BASE="https://github.com/gruntwork-io/fetch/releases/download"
readonly FETCH_INSTALL_PATH="$BIN_DIR/fetch"

Expand Down Expand Up @@ -134,6 +134,8 @@ function get_os_arch_gox_format {

if string_contains "$arch" "arm64"; then
echo "arm64"
elif string_contains "$arch" "aarch64"; then
echo "arm64"
elif string_contains "$arch" "64"; then
echo "amd64"
elif string_contains "$arch" "386"; then
Expand Down
2 changes: 2 additions & 0 deletions gruntwork-install
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ function get_os_arch_gox_format {

if string_contains "$arch" "arm64"; then
echo "arm64"
elif string_contains "$arch" "aarch64"; then
echo "arm64"
elif string_contains "$arch" "64"; then
echo "amd64"
elif string_contains "$arch" "386"; then
Expand Down

0 comments on commit e4eb89e

Please sign in to comment.