Skip to content

Commit

Permalink
fix: errors
Browse files Browse the repository at this point in the history
  • Loading branch information
smdex committed Jul 21, 2023
1 parent 9855f2f commit 32ae35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ get_platform() {
get_arch() {
local -r machine="$(uname -m)"

if [[ -n ${ASDF_MUTAGEN_ARCH_OVERRIDE} ]]; then
echo ${ASDF_MUTAGEN_ARCH_OVERRIDE}
if [[ -n "${ASDF_MUTAGEN_ARCH_OVERRIDE}" ]]; then
echo "${ASDF_MUTAGEN_ARCH_OVERRIDE}"
elif [[ ${machine} == "arm64" ]] || [[ ${machine} == "aarch64" ]]; then
echo "arm64"
elif [[ ${machine} == *"arm"* ]] || [[ ${machine} == *"aarch"* ]]; then
Expand Down

0 comments on commit 32ae35e

Please sign in to comment.