commit | fd011bebe7509c64272a0ef7f09dca9dcf0541cb | [log] [tgz] |
---|---|---|
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | Thu Aug 06 13:17:39 2020 +0200 |
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | Thu Aug 06 15:22:44 2020 +0000 |
tree | 48d9d3ed47eb2a94c170bf8fdfb9664bfccd00aa | |
parent | 917b43ecc34872078faa74faa1bc95675ec57522 [diff] [blame] |
fetch_file: Disable curl's continue/resume mode This is to fix the following error encountered on Arm infrastructure: Fetch: http://files.oss.arm.com/downloads/tf-a/linaro/19.06/juno-latest-oe-uboot/SOFTWARE/scp_bl2.bin -> scp_bl2.bin curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume. Change-Id: Iaaf2b961f87e36c5f215317e2f714b7e3db8aaf2 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
diff --git a/utils.sh b/utils.sh index 43de353..4b60e7a 100644 --- a/utils.sh +++ b/utils.sh
@@ -127,7 +127,7 @@ saveas="${saveas-"$(basename "$url")"}" echo "Fetch: $url -> $saveas" # Use curl to support file protocol - curl -sLS -C - $sa "$url" + curl -sLS $sa "$url" else sa="${saveas-.}" echo "Fetch: $url -> $sa"