diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/bootstrap.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1 index 568f56995..d336dc9d5 100644 --- a/scripts/bootstrap.ps1 +++ b/scripts/bootstrap.ps1 @@ -4,7 +4,8 @@ param( [string]$disableMetrics = "0" ) -$vcpkgRoot = (get-item $PSScriptRoot).parent.FullName +$scriptsdir = split-path -parent $MyInvocation.MyCommand.Definition +$vcpkgRoot = Split-path $scriptsdir -Parent $gitHash = git rev-parse HEAD Write-Verbose("Git hash is " + $gitHash) |
