baidu / bfs

The Baidu File System.
BSD 3-Clause "New" or "Revised" License
2.86k stars 556 forks source link

add wget no-check-certificate in build.sh #914

Closed suliangxd closed 7 years ago

suliangxd commented 7 years ago

If a machine use git for the first time, the command sh build.sh may throw an error as follows. So, it needs use --no-check-certificate in wget

--2017-08-09 15:49:06--  https://raw.githubusercontent.com/lylei9/boost_1_57_0/master/boost_1_57_0.tar.gz
Resolving raw.githubusercontent.com... 151.101.72.133
Connecting to raw.githubusercontent.com|151.101.72.133|:443... connected.
ERROR: certificate common name “www.github.com” doesn’t match requested host name “raw.githubusercontent.com”.
To connect to raw.githubusercontent.com insecurely, use ‘--no-check-certificate’.
CLAassistant commented 7 years ago

CLA assistant check
All committers have signed the CLA.