Pattern: Use of unquoted ==
after a word
Issue: -
This was most likely supposed to be a comparison, so use square brackets as in the correct code.
Example of incorrect code:
if $var == value
then
echo "Match"
fi
Example of correct code:
if [ "$var" = value ]
then
echo "Match"
fi