Pattern: Use of ==
in command name
Issue: -
Most likely, this was intended as a kind of comparison. To compare two values, use [ value1 = value2 ]
. Both the brackets and the spaces around the =
are relevant.
Example of incorrect code:
$a/$b==foo/bar
Example of correct code:
[ "$a/$b" = "foo/bar" ]