summaryrefslogtreecommitdiff
path: root/utils/installer/install-neovim-from-release
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-10-09 22:17:30 +0200
committerkylo252 <[email protected]>2021-10-09 22:17:30 +0200
commitcaf62bcfed4fc6cfed26164e39d22a568d21f9d0 (patch)
tree47f7ddcbe7ef10b6cffd8398dbfc215d94fc2fae /utils/installer/install-neovim-from-release
parent4126e5765d69840660fab2a05bbc664ad0117b95 (diff)
parent82b7a35858479223c1e34bea2f64451ecf1e5f66 (diff)
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to 'utils/installer/install-neovim-from-release')
-rwxr-xr-xutils/installer/install-neovim-from-release2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/installer/install-neovim-from-release b/utils/installer/install-neovim-from-release
index a2ba0513..e20a4804 100755
--- a/utils/installer/install-neovim-from-release
+++ b/utils/installer/install-neovim-from-release
@@ -52,7 +52,7 @@ function download_neovim() {
function verify_neovim() {
echo "Verifying the installation.."
- DOWNLOADED_SHA="$(sha256sum "$DOWNLOAD_DIR/$ARCHIVE_NAME.tar.gz" | awk '{print $1}')"
+ DOWNLOADED_SHA="$(openssl dgst -sha256 "$DOWNLOAD_DIR/$ARCHIVE_NAME.tar.gz" | awk '{print $2}')"
if [ "$RELEASE_SHA" != "$DOWNLOADED_SHA" ]; then
echo "Error! checksum mis-match."