From 6377880c2ba4bee4ce79f18d8d32bde19de7f979 Mon Sep 17 00:00:00 2001 From: Frank Date: Wed, 4 Nov 2026 13:29:28 +0100 Subject: [PATCH] Fix musl detection in install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5f0cb6a0..4a0d97b7 100644 --- a/install.sh +++ b/install.sh @@ -74,7 +74,7 @@ echo "Current OS: $CURRENT_OS" if [ $CURRENT_OS = "Darwin" ]; then CURRENT_OS_NAME="apple-darwin" elif [ $CURRENT_OS = "Linux" ]; then - if echo "$(ldd --version)" | grep -q "musl"; then + if echo "$(ldd 2>&1)" | grep -q "musl"; then CURRENT_OS_NAME="unknown-linux-musl" elif echo "$(ldd --version)" | grep -q "GLIBC"; then CURRENT_OS_NAME="unknown-linux-gnu"