Commit be3daff5 authored by Robert Iannucci's avatar Robert Iannucci Committed by Commit Bot

Make cipd bootstrap script compatible with PowerShell 2.0

BUG=673940

Change-Id: I64d26454db3693499d4fb8f82bafb9eb04125c0d
Reviewed-on: https://chromium-review.googlesource.com/420408Reviewed-by: 's avatarVadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
parent 70f351e7
......@@ -12,7 +12,7 @@ function GetEnvVar([string] $key, [scriptblock] $defaultFn) {
}
$cipdClientVer = GetEnvVar "CIPD_CLIENT_VER" {
Get-Content (Join-Path $myPath -ChildPath 'cipd_client_version') -First 1
Get-Content (Join-Path $myPath -ChildPath 'cipd_client_version') -TotalCount 1
}
$cipdClientSrv = GetEnvVar "CIPD_CLIENT_SRV" {
"https://chrome-infra-packages.appspot.com"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment