Skip to content

Commit

Permalink
chore: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed Jan 5, 2024
1 parent f89cbe3 commit b8f1f5d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ get_arch() {
local arch=""

case "$(uname -m)" in
x86_64|amd64) arch="amd64"; ;;
i686|i386) arch="386"; ;;
armv6l) arch="armv6"; ;;
armv7l) arch="armv7"; ;;
aarch64|arm64) arch="arm64"; ;;
ppc64le) arch="ppc64le"; ;;
*)
x86_64|amd64) arch="amd64"; ;;
i686|i386) arch="386"; ;;
armv6l) arch="armv6"; ;;
armv7l) arch="armv7"; ;;
aarch64|arm64) arch="arm64"; ;;
ppc64le) arch="ppc64le"; ;;
*)
echo "Arch '$(uname -m)' not supported!" >&2
exit 1
;;
Expand Down

0 comments on commit b8f1f5d

Please sign in to comment.