build-make: Prefer downloading with curl over wget

Curl produces less log output while downloading.
This commit is contained in:
Martin Storsjö committed 2025-05-23 21:55:08 +03:00
1 parent 16b3ddfbfc
commit 2eebbd670e
1 file changed
+3 -3
+3 -3
View File
@@ -44,10 +44,10 @@ PREFIX="$(cd "$PREFIX" && pwd)"
: ${CORES:=4}
download() {
if command -v wget >/dev/null; then
wget "$1"
else
if command -v curl >/dev/null; then
curl -LO "$1"
else
wget "$1"
fi
}