Revert to using == instead of =

This commit is contained in:
Lastrellik 2018-03-01 11:36:36 -07:00
parent 6706a87e53
commit 6079105b2c

View file

@ -38,7 +38,7 @@ verify_signature() {
verify_hash() {
local file=$1 expected_hash=$2
actual_hash=$(sha256sum $file | awk '{print $1}')
if [ "$actual_hash" = "$expected_hash" ]; then
if [ "$actual_hash" == "$expected_hash" ]; then
return 0
else
echo "$file $actual_hash (unexpected hash)" >&2