mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-25 22:27:49 +08:00
Fix shellcheck problems
Change-Id: I277fd923f62aa5888d7e18c89471909732da30e5 Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
@@ -50,7 +50,7 @@ VerifyHash () {
|
||||
*) echo "FATAL! Unknown hash length: $hashLength" 1>&2 ;;
|
||||
esac | cut -d ' ' -f 1`
|
||||
|
||||
if [ -z $hash ] || [ ! "$expectedHash" = "$hash" ]
|
||||
if [ -z "$hash" ] || [ ! "$expectedHash" = "$hash" ]
|
||||
then
|
||||
echo "FAIL! wrong file hash: $file $hash" 1>&2
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user