diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-20 16:58:08 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-20 16:58:08 -0700 |
| commit | 38233af9a2acb332c9f8edfab62dafcb4b08ac39 (patch) | |
| tree | 185af9aef5ccbc8d5ae94fa0123587f8fc35e761 /scripts | |
| parent | 951ea973ce99f7ad15094925e78ba7dbd031ab34 (diff) | |
| download | vcpkg-38233af9a2acb332c9f8edfab62dafcb4b08ac39.tar.gz vcpkg-38233af9a2acb332c9f8edfab62dafcb4b08ac39.zip | |
Look for 'git' instead of 'git.exe'. Resolves #820
Diffstat (limited to 'scripts')
| -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 fea05964b..b7bc5afab 100644 --- a/scripts/bootstrap.ps1 +++ b/scripts/bootstrap.ps1 @@ -8,7 +8,7 @@ $scriptsDir = split-path -parent $MyInvocation.MyCommand.Definition $vcpkgRootDir = & $scriptsDir\findFileRecursivelyUp.ps1 $scriptsDir .vcpkg-root $gitHash = "unknownhash" -if (Get-Command "git.exe" -ErrorAction SilentlyContinue) +if (Get-Command "git" -ErrorAction SilentlyContinue) { $gitHash = git rev-parse HEAD } |
