summaryrefslogtreecommitdiff
path: root/utils/installer/install-neovim-from-release
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-09-13 11:10:07 +0200
committerGitHub <[email protected]>2021-09-13 11:10:07 +0200
commitfcb764cd638ddffbe96228c6b3b1b8e0d40dbb23 (patch)
treebb24c5a66ac390fff0d8f86bd1c07bd47f43b371 /utils/installer/install-neovim-from-release
parente93c6abab7d9fb3885cb53310d840204ff6ffc01 (diff)
refactor(ci): better path handling (#1531)
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."