diff options
| author | Jens Frederich <jens.frederich@vector.com> | 2017-10-04 08:19:57 +0200 |
|---|---|---|
| committer | Jens Frederich <jens.frederich@vector.com> | 2017-10-04 08:19:57 +0200 |
| commit | 0ba3c166d76a4484fd4d378dc7367f2794577a20 (patch) | |
| tree | c23ba13bffd4468421676a73fc0f61c81f77e17e /scripts | |
| parent | 6aae6ca3c0384d23c901e80cfbd46ed32a29321d (diff) | |
| download | vcpkg-0ba3c166d76a4484fd4d378dc7367f2794577a20.tar.gz vcpkg-0ba3c166d76a4484fd4d378dc7367f2794577a20.zip | |
Get proxy credentials behind web proxy
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/bootstrap.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1 index b7bc5afab..fa51de404 100644 --- a/scripts/bootstrap.ps1 +++ b/scripts/bootstrap.ps1 @@ -4,6 +4,10 @@ param( [string]$disableMetrics = "0" ) +$webclient=New-Object System.Net.WebClient +$creds=Get-Credential +$webclient.Proxy.Credentials=$creds + $scriptsDir = split-path -parent $MyInvocation.MyCommand.Definition $vcpkgRootDir = & $scriptsDir\findFileRecursivelyUp.ps1 $scriptsDir .vcpkg-root |
