Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
adikari committed Dec 20, 2022
1 parent f769052 commit a3d4470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/command
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ get_architecture() {

if [[ "${_arm[*]}" =~ ${_arch} ]]; then
_arch="arm64"
elif [[ "${amd[*]}" =~ ${arch} ]]; then
elif [[ "${_amd[*]}" =~ ${_arch} ]]; then
_arch="amd64"
elif [[ "${arch}" != "ppc64le" ]]; then
elif [[ "${_arch}" != "ppc64le" ]]; then
echo -e "ERROR: unsupported architecture \"${_arch}\"" >&2
exit 2
fi
Expand Down

0 comments on commit a3d4470

Please sign in to comment.