summaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2024-01-08 17:24:18 +0100
committerCasey Bodley <cbodley@redhat.com>2024-01-08 17:24:29 +0100
commit2ba7d6e59e8750867059c29a33c22bcb3e358b65 (patch)
treecc633e77f15d7394321348e74becf52b61608652 /make-dist
parentMerge pull request #55081 from petrutlucian94/boost_mirror (diff)
downloadceph-2ba7d6e59e8750867059c29a33c22bcb3e358b65.tar.xz
ceph-2ba7d6e59e8750867059c29a33c22bcb3e358b65.zip
make-dist: don't use --continue option for wget
the boost jfrog mirror is broken and returns an HTML error page instead of the archive. the file size of this page is 11534 bytes when download_from() retries the download from download.ceph.com, the -c option tells it to resume the download of the existing file. the resulting boost_1_82_0.tar.bz2 ends up with the correct total file size of 121325129 bytes, but the first 11534 bytes still correspond to the HTML from jfrog. that causes the sha256sum mismatch remove the -c option so that wget fetches the archive in its entirety Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to '')
-rwxr-xr-xmake-dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-dist b/make-dist
index 4add880180e..45cbf1381cc 100755
--- a/make-dist
+++ b/make-dist
@@ -55,7 +55,7 @@ download_from() {
exit
fi
url=$url_base/$fname
- wget -c --no-verbose -O $fname $url
+ wget --no-verbose -O $fname $url
if [ $? != 0 -o ! -e $fname ]; then
echo "Download of $url failed"
elif [ $(sha256sum $fname | awk '{print $1}') != $sha256 ]; then