mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-12-11 04:43:43 +00:00
Look for 'git' instead of 'git.exe'. Resolves #820
This commit is contained in:
parent
951ea973ce
commit
38233af9a2
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user