aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorigl42 <31173856+igl42@users.noreply.github.com>2018-08-22 23:38:31 +0200
committerRobert Schumacher <roschuma@microsoft.com>2018-08-22 14:38:31 -0700
commita687f98f9881b205164ee56e75fbf6bd9378e9f6 (patch)
treee92928ccce432860833ee2aa2a0906558af96516 /scripts
parent107ed006280e2e6204787dcf25d7819eb869b43f (diff)
downloadvcpkg-a687f98f9881b205164ee56e75fbf6bd9378e9f6.tar.gz
vcpkg-a687f98f9881b205164ee56e75fbf6bd9378e9f6.zip
[blaze] Fix the SHA512 in the 'portfile.cmake' (#4138)
* [blaze] Fix the SHA512 in the 'portfile.cmake' * [blaze] Use commit SHA to avoid future tag movement. Fix patches.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_from_bitbucket.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_from_bitbucket.cmake b/scripts/cmake/vcpkg_from_bitbucket.cmake
index a12d86b43..7eaf550bb 100644
--- a/scripts/cmake/vcpkg_from_bitbucket.cmake
+++ b/scripts/cmake/vcpkg_from_bitbucket.cmake
@@ -115,7 +115,7 @@ function(vcpkg_from_bitbucket)
string(REGEX REPLACE "\"hash\": \"([a-f0-9]+)\"" "\\1" _version ${x})
string(SUBSTRING ${_version} 0 12 _version) # Get the 12 first numbers from commit hash
else()
- set(_version ${_vdud_REF})
+ string(SUBSTRING ${_vdud_REF} 0 12 _version) # Get the 12 first numbers from commit hash
endif()
vcpkg_download_distfile(ARCHIVE