Hi all,
I notice we use curl to download things like boost.
Unfortunately for myself, I’m having connectivity issues to the LibreOffice servers. Whenever the
download fails, the next time I run make it restarts from the beginning, and of course it fails.
Would it be possible to use the -C (continue) command?
cd /Users/5K/lo/core/external/tarballs/tmp && echo fetching boost_1_59_0.tar.bz2 && bash -c
'/usr/bin/curl -C - -O http://dev-www.libreoffice.org/src/boost_1_59_0.tar.bz2 2>&1 | tee -a
/Users/5K/lo/core/external/tarballs/fetch.log && [ $PIPESTATUS -eq 0 ]' && SUM=`md5 -r
boost_1_59_0.tar.bz2 | sed "s/ .*//"` && if test "$SUM" != "6aa9a5c6a4ca1016edd0ed1178e3cb87"; then
echo ERROR: expected checksum for boost_1_59_0.tar.bz2 is 6aa9a5c6a4ca1016edd0ed1178e3cb87 2>&1 |
tee -a /Users/5K/lo/core/external/tarballs/fetch.log; false; fi && mv boost_1_59_0.tar.bz2 ../
We’d just have to add in the "-C -“ switches to Curl.
Are there any concerns in making this occur?
Chris
Context
- Resuming downloads of external files · Chris Sherlock
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.