View Single Post
Posts: 637 | Thanked: 445 times | Joined on Dec 2009 @ Kaliningrad, Russia
#17
Thanks bro, but I found what was wrong.
I remembered that Notepad on Windows add excess symbols to the file (or it appears in the file after you put it on Linux machine, don't know) so I checked the script with vi editor on the phone and yeah, it was full of ^M in the end of each line. Deleted it. And now it works.

BTW, I did not made a chmod thing, it works without it too.
 

The Following User Says Thank You to Kroll For This Useful Post: