diff --git a/scripts/check-prerequisites.sh b/scripts/check-prerequisites.sh index fb2011360eb0e..12e85ae3789f1 100755 --- a/scripts/check-prerequisites.sh +++ b/scripts/check-prerequisites.sh @@ -22,7 +22,7 @@ check_which() { w=$(which ${app}) || w="" - if [ -z $w ] || [ $w == "$app not found" ] + if [ -z "$w" ] || [ "$w" == "$app not found" ] then die "Missing dependency: $app. Install $app >= $min" else