diff --git a/lib/utils.bash b/lib/utils.bash index 7b5b9c6..155dc4c 100755 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -51,7 +51,7 @@ detect_architecture() { } detect_variant() { - case "$(ldd /bin/sh)" in + case "$(command -v ldd >/dev/null && ldd /bin/sh)" in *musl*) echo '-musl';; *) echo ''; esac