Skip to content

Commit 96fe97f

Browse files
authored
Merge pull request #35 from vladlosev/fix-linux-arm64-install
fix: Linux/ARM64 install.
2 parents 61ed17f + a2942ae commit 96fe97f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/utils.bash

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ OS="${OS:-unknown}"
1010
ARCH="${ARCH:-unknown}"
1111

1212
fail() {
13-
echo -e "asdf-$TOOL_NAME: $*"
13+
echo -e "asdf-$TOOL_NAME: $*" >/dev/stderr
1414
exit 1
1515
}
1616

@@ -78,6 +78,8 @@ detect_arch() {
7878
echo "$ARCH"
7979
elif [ "${ARCH}" == "arm64" ]; then
8080
echo "$ARCH"
81+
elif [ "${ARCH}" == "aarch64" ]; then
82+
echo "arm64"
8183
elif [ "${ARCH}" == "i386" ]; then
8284
echo "$ARCH"
8385
elif [ "${ARCH}" == "armv7" ]; then

0 commit comments

Comments
 (0)