From 039c13bc8b2eba575bc2f028107a44d0ba0009a4 Mon Sep 17 00:00:00 2001 From: Eric Le Lay Date: Sat, 28 Jul 2018 22:30:24 +0200 Subject: [PATCH] win_installer: fetch and verify notifu using bash (fix typo) --- .appveyor/get_notifu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor/get_notifu.sh b/.appveyor/get_notifu.sh index 42642c43..8fa00548 100644 --- a/.appveyor/get_notifu.sh +++ b/.appveyor/get_notifu.sh @@ -3,8 +3,8 @@ set -e src=notifu-src-1.6.1.zip wget https://www.paralint.com/projects/notifu/dl/$src -checksum=$(sha256sum $src | cut -d " " -f0) -if [ "$checksum" -ne "0fdcd08d3e12d87af76cdaafbf1278c4fcf1baf5d6447cce1a676b8d78a4d8c3" ]; then +checksum=$(sha256sum $src | cut -d " " -f1) +if [ "$checksum" = "0fdcd08d3e12d87af76cdaafbf1278c4fcf1baf5d6447cce1a676b8d78a4d8c3" ]; then echo "$src checksum OK" else echo "$src checksum KO: got $checksum"