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

Use arm64 if arm64 #67

Merged
merged 1 commit into from
Aug 10, 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 @@ -132,7 +132,9 @@ function get_os_arch {
function get_os_arch_gox_format {
local -r arch=$(get_os_arch)

if string_contains "$arch" "64"; then
if string_contains "$arch" "arm64"; then
echo "arm64"
elif string_contains "$arch" "64"; then
robmorgan marked this conversation as resolved.
Show resolved Hide resolved
echo "amd64"
elif string_contains "$arch" "386"; then
echo "386"
Expand Down
4 changes: 3 additions & 1 deletion gruntwork-install
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ function string_contains {
function get_os_arch_gox_format {
local -r arch=$(get_os_arch)

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