From fbef9608646c482d576bc730726b74396b052bdc Mon Sep 17 00:00:00 2001 From: Halldor Fannar Date: Fri, 26 Aug 2016 12:04:20 +0000 Subject: Removing commented out script code --- packman/windows/configure/fetch_file_from_s3.ps1 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packman/windows/configure/fetch_file_from_s3.ps1 b/packman/windows/configure/fetch_file_from_s3.ps1 index 9e1b457..4d20a7f 100644 --- a/packman/windows/configure/fetch_file_from_s3.ps1 +++ b/packman/windows/configure/fetch_file_from_s3.ps1 @@ -4,16 +4,10 @@ param( ) $source = "http://packman.s3.amazonaws.com/" + $sourceName $filename = $output -#$key64 = 'QHV0ME1AdDNHVEwkY3IxcHQk' -#$key = [System.Text.Encoding]::GetEncoding(1252).GetString([Convert]::FromBase64String($key64)) -#$key = $key | ConvertTo-SecureString -asPlainText -Force -#$credential = New-Object System.Management.Automation.PSCredential('svcgtlautomate', $key) -#$cache = New-Object System.Net.CredentialCache -#$cache.Add( "http://sso.nvidia.com", "NTLM", $credential) $req = [System.Net.httpwebrequest]::Create($source) $req.cookiecontainer = New-Object System.net.CookieContainer -#$req.Credentials = $cache + Write-Host "Connecting to S3 ..." $res = $req.GetResponse() -- cgit v1.2.3