aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJens Frederich <jens.frederich@vector.com>2017-10-04 08:19:57 +0200
committerJens Frederich <jens.frederich@vector.com>2017-10-04 08:19:57 +0200
commit0ba3c166d76a4484fd4d378dc7367f2794577a20 (patch)
treec23ba13bffd4468421676a73fc0f61c81f77e17e /scripts
parent6aae6ca3c0384d23c901e80cfbd46ed32a29321d (diff)
downloadvcpkg-0ba3c166d76a4484fd4d378dc7367f2794577a20.tar.gz
vcpkg-0ba3c166d76a4484fd4d378dc7367f2794577a20.zip
Get proxy credentials behind web proxy
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootstrap.ps14
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