summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorIdwer Vollering <vidwer@gmail.com>2020-11-24 15:13:16 +0100
committerIdwer Vollering <vidwer@gmail.com>2020-11-25 16:03:30 +0000
commit5190f42306b3e860c0fccec0f4ba933243c3a4fa (patch)
tree5a0e41f9b3d593de6814991cbcb7e66ab3269c75 /util
parent9b7dc7645db803d34dee314fcd46df77b2935f4f (diff)
downloadcoreboot-5190f42306b3e860c0fccec0f4ba933243c3a4fa.tar.xz
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>
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc2
1 files changed, 1 insertions, 1 deletions
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