I have the following shell script.
if [ "$group" == "First*" ]]
then
OWNER_EMAIL=first-logs@ginger.com
elif [ "$group" == "Second*" ]]
then
OWNER_EMAIL=second-team@ginger.com
fi
It does not throw any error , but does not execute the if statement properly if $group contains a First or a Second inside. Can any one tell me where I am going wrong.