I have this script which works on my linux machine
#!/bin/sh c=1 if [ $c == 1 ] then echo c is 1 else echo c is 0 fi
But when I use this in
generally [ is an alias for test,
[
test
in Linux machine test is at
/usr/bin/test
and
if [ $c == 1 ]
is evaluated as
if test "$c" = 1
BUT here in android there is no test
so if with [] will not work in any case...
i will cross compile test for android and check it....!!!