Possible Duplicate:
shell script in android gives [: not found
i need to write one conditional statement in shell script.
i have used this way
#!/bin/sh
c=1
if [ $c == 1 ]
then
echo c is 1
else
echo c is 0
fi
this works fine in linux machine but android shell has some problem with if [ $C == 1 ]
it gives me error like
[: not found
so is there any other condition statement in shell script so i can convert my logic at that way?