mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
install_deps.ps1: Use empty user agent when downloading boost from jfrog to avoid being treated as a browser
This commit is contained in:
parent
a6683e3226
commit
bc68e95221
@ -10,7 +10,9 @@ if ( -not (Test-Path "$PSScriptRoot\..\deps\boost") ) {
|
||||
tar -xf cmake.zip
|
||||
mv cmake-3.18.2-win64-x64 "$PSScriptRoot\..\deps\cmake"
|
||||
|
||||
Invoke-WebRequest -URI "https://boostorg.jfrog.io/artifactory/main/release/1.74.0/source/boost_1_74_0.zip" -OutFile boost.zip
|
||||
# FIXME: The default user agent results in Artifactory treating Invoke-WebRequest as a browser
|
||||
# and serving it a page that requires JavaScript.
|
||||
Invoke-WebRequest -URI "https://boostorg.jfrog.io/artifactory/main/release/1.74.0/source/boost_1_74_0.zip" -OutFile boost.zip -UserAgent ""
|
||||
tar -xf boost.zip
|
||||
cd boost_1_74_0
|
||||
.\bootstrap.bat
|
||||
|
Loading…
Reference in New Issue
Block a user