Skip to content

Commit

Permalink
fix(install): use correct arch name in 32-bit test (starship#2234)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkna authored Jan 29, 2021
1 parent 511bd85 commit 6bb7903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ detect_arch() {
esac

# `uname -m` in some cases mis-reports 32-bit OS as 64-bit, so double check
if [ "${arch}" = "x64" ] && [ "$(getconf LONG_BIT)" -eq 32 ]; then
if [ "${arch}" = "x86_64" ] && [ "$(getconf LONG_BIT)" -eq 32 ]; then
arch=i686
elif [ "${arch}" = "aarch64" ] && [ "$(getconf LONG_BIT)" -eq 32 ]; then
arch=arm
Expand Down

0 comments on commit 6bb7903

Please sign in to comment.