|
@@ -137,8 +137,8 @@ $env:Path += ";C:\ProgramData\Composer\bin"; [Environment]::SetEnvironmentVariab
|
|
# Go
|
|
# Go
|
|
#
|
|
#
|
|
Write-Host "Installing Go...`n"
|
|
Write-Host "Installing Go...`n"
|
|
-$go_url = "https://go.googlecode.com/files/go1.1.windows-amd64.msi"
|
|
|
|
-$go_local = "$workdir\go1.1.windows-amd64.msi"
|
|
|
|
|
|
+$go_url = "http://go.googlecode.com/files/go1.1.1.windows-amd64.msi"
|
|
|
|
+$go_local = "$workdir\go1.1.1.windows-amd64.msi"
|
|
(New-Object System.Net.WebClient).DownloadFile($go_url, $go_local)
|
|
(New-Object System.Net.WebClient).DownloadFile($go_url, $go_local)
|
|
Start-Process $go_local "/passive" -Wait
|
|
Start-Process $go_local "/passive" -Wait
|
|
$env:Path += ";C:\Go\bin"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
|
|
$env:Path += ";C:\Go\bin"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
|
|
@@ -216,4 +216,4 @@ $hg_installer_local = "$workdir\$hg_installer_file"
|
|
Start-Process $hg_installer_local '/passive' -Wait
|
|
Start-Process $hg_installer_local '/passive' -Wait
|
|
$env:Path += ";C:\Program Files\Mercurial"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
|
|
$env:Path += ";C:\Program Files\Mercurial"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
|
|
|
|
|
|
-cd $basedir
|
|
|
|
|
|
+cd $basedir
|