aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-05-19 18:08:10 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-05-19 19:23:33 -0700
commitf1653a23d5a4a1f4ce8b4d034594526a649de0d1 (patch)
tree5833e161b8c4d474e1c07612475a9f4d1773b055 /scripts
parentbc96c069aced70a51a04a5e009f7c7931c488028 (diff)
downloadvcpkg-f1653a23d5a4a1f4ce8b4d034594526a649de0d1.tar.gz
vcpkg-f1653a23d5a4a1f4ce8b4d034594526a649de0d1.zip
Inline variable
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootstrap.ps13
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1
index 0427ce2ba..43cf96c56 100644
--- a/scripts/bootstrap.ps1
+++ b/scripts/bootstrap.ps1
@@ -41,7 +41,6 @@ while (!($vcpkgRootDir -eq "") -and !(Test-Path "$vcpkgRootDir\.vcpkg-root"))
}
Write-Verbose "Examining $vcpkgRootDir for .vcpkg-root - Found"
-$gitHash = "nohash"
$vcpkgSourcesPath = "$vcpkgRootDir\toolsrc"
if (!(Test-Path $vcpkgSourcesPath))
@@ -293,7 +292,7 @@ $platformToolset = $msbuildExeWithPlatformToolset[1]
$windowsSDK = getWindowsSDK
$arguments = (
-"`"/p:VCPKG_VERSION=-$gitHash`"",
+"`"/p:VCPKG_VERSION=-nohash`"",
"`"/p:DISABLE_METRICS=$disableMetrics`"",
"/p:Configuration=Release",
"/p:Platform=x86",