Browse Source

Revert to using == instead of =

3.1
Lastrellik 7 years ago
parent
commit
6079105b2c
  1. 2
      contrib/build-wine/prepare-wine.sh

2
contrib/build-wine/prepare-wine.sh

@ -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…
Cancel
Save