From 33e39f6675c251904b332218eeeb076cc98a7836 Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Thu, 6 Mar 2025 11:39:15 -0800 Subject: [PATCH 1/2] fix: Linux/ARM64 install. --- lib/utils.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils.bash b/lib/utils.bash index 22d8092..2c206b0 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -78,6 +78,8 @@ detect_arch() { echo "$ARCH" elif [ "${ARCH}" == "arm64" ]; then echo "$ARCH" + elif [ "${ARCH}" == "aarch64" ]; then + echo "arm64" elif [ "${ARCH}" == "i386" ]; then echo "$ARCH" elif [ "${ARCH}" == "armv7" ]; then From a2942ae518e177cbe80230d4cac1f705723660bd Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Thu, 6 Mar 2025 11:53:17 -0800 Subject: [PATCH 2/2] fix: Sends output of fail() to stderr. --- lib/utils.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.bash b/lib/utils.bash index 2c206b0..89ee06f 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -10,7 +10,7 @@ OS="${OS:-unknown}" ARCH="${ARCH:-unknown}" fail() { - echo -e "asdf-$TOOL_NAME: $*" + echo -e "asdf-$TOOL_NAME: $*" >/dev/stderr exit 1 }