diff options
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 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 } |
