match any arm variant arch to arm
@@ -11,7 +11,7 @@ elif [ "$(uname -s)" = "Linux" ] && [ "$(uname -m)" = "x86_64" ]; then
target="x86_64-unknown-linux-musl"
elif [ "$(uname -s)" = "Linux" ] && [ "$(uname -m)" = "amd64" ]; then
target="x86_64-unknown-linux-musl"
-elif [ "$(uname -s)" = "Linux" ] && [ "$(uname -m)" = "arm" ]; then
+elif [ "$(uname -s)" = "Linux" ] && ( uname -m | grep -q "arm" ); then
target="arm-unknown-linux-gnueabihf"
else
echo "Unsupported OS or architecture"
