Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix aarch64 fetch install #70

Merged
merged 3 commits into from
Nov 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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