From 5190f42306b3e860c0fccec0f4ba933243c3a4fa Mon Sep 17 00:00:00 2001 From: Idwer Vollering Date: Tue, 24 Nov 2020 15:13:16 +0100 Subject: util/crossgcc: ensure curl writes downloaded bytes to a file Commit 82a30a134c (util/crossgcc: Retry package downloads on failure) caused a regression for curl users. Signed-off-by: Idwer Vollering Change-Id: I0d946b86baad3f6409a5042701808da307e5bcb7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47911 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Angel Pons --- util/crossgcc/buildgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index b55ecb22ee..5af3d5aadf 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -1066,7 +1066,7 @@ elif searchtool curl "^curl " > /dev/null; then download_showing_percentage() { url=$1 echo - curl --progress-bar --location --retry 3 "$url" + curl -O --progress-bar --location --retry 3 "$url" } fi -- cgit v1.2.3