Revert to using == instead of =
This commit is contained in:
parent
6706a87e53
commit
6079105b2c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user