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 <vidwer@gmail.com>
Change-Id: I0d946b86baad3f6409a5042701808da307e5bcb7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47911
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
9b7dc7645d
commit
5190f42306
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue