diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-08-28 17:33:03 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-08-28 17:33:03 -0700 |
| commit | b21bc7c11ae2e34efe2ef87c10dd41213bbd208b (patch) | |
| tree | 12343da76d552203df83827a7f2a5887cdcdddde /scripts/bootstrap.ps1 | |
| parent | 4d952a5e1d286e281a837f332fbac9e43866d933 (diff) | |
| download | vcpkg-b21bc7c11ae2e34efe2ef87c10dd41213bbd208b.tar.gz vcpkg-b21bc7c11ae2e34efe2ef87c10dd41213bbd208b.zip | |
[vcpkg] Don't use -ListImported in bootstrap. Fixes #1711
Diffstat (limited to 'scripts/bootstrap.ps1')
| -rw-r--r-- | scripts/bootstrap.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1 index 2dd6813a4..b874afd8c 100644 --- a/scripts/bootstrap.ps1 +++ b/scripts/bootstrap.ps1 @@ -14,7 +14,7 @@ $oldpath = $env:path try { $env:path += ";$vcpkgRootDir\downloads\MinGit-2.14.1-32-bit\cmd" - if (Get-Command "git" -ListImported -ErrorAction SilentlyContinue) + if (Get-Command "git" -ErrorAction SilentlyContinue) { $gitHash = git log HEAD -n 1 --format="%cd-%H" --date=short if ($LASTEXITCODE -ne 0) |
