Skip to content

Commit 2eebbd6

Browse files
committed
build-make: Prefer downloading with curl over wget
Curl produces less log output while downloading.
1 parent 16b3ddf commit 2eebbd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-make.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ PREFIX="$(cd "$PREFIX" && pwd)"
4444
: ${CORES:=4}
4545

4646
download() {
47-
if command -v wget >/dev/null; then
48-
wget "$1"
49-
else
47+
if command -v curl >/dev/null; then
5048
curl -LO "$1"
49+
else
50+
wget "$1"
5151
fi
5252
}
5353

0 commit comments

Comments
 (0)