From 6079105b2cd73fe3efedc7bfefde5ad6aa6584ae Mon Sep 17 00:00:00 2001 From: Lastrellik Date: Thu, 1 Mar 2018 11:36:36 -0700 Subject: [PATCH] Revert to using == instead of = --- contrib/build-wine/prepare-wine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh index 3413f20c4..1bd9af08e 100755 --- a/contrib/build-wine/prepare-wine.sh +++ b/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