Skip to content

Commit 2ba7d6e

Browse files
committed
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 <[email protected]>
1 parent adb1aee commit 2ba7d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make-dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ download_from() {
5555
exit
5656
fi
5757
url=$url_base/$fname
58-
wget -c --no-verbose -O $fname $url
58+
wget --no-verbose -O $fname $url
5959
if [ $? != 0 -o ! -e $fname ]; then
6060
echo "Download of $url failed"
6161
elif [ $(sha256sum $fname | awk '{print $1}') != $sha256 ]; then

0 commit comments

Comments
 (0)