Error creating Android, tiny6410

H. Elrakhawy
Error when creating android for tiny6410, when executing ./genrootfs.sh
this output shown

root@tomy-laptop:/opt/FriendlyARM/tiny6410/android/Android-2.3.4#./genrootfs-s.s
h

Generating rootfs for Android......done
./genrootfs-s.sh: 21: Syntax error: "(" unexpected

how to solve ? thanks in advance .

H. Elrakhawy
OK, I found the solution, the script file was written to target bash but
Ubuntu 10.04 uses different shell as default, so all I had to do is 

....../android/Android-2.3.4#bash genrootfs-s.sh

Thanks anyway and hope anyone facing my problem finds the solution here

adam
saved me, thanks!