View Single Post
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#9
Have you tested your scripts manually, that is, from an xterm?
If they don't work, check that you have not accidentally created scripts with carriage return/line feed line endings instead of just line feed line endings. Shell scripts with cr/lf won't work.

If there are cr/lf line endings then the script can be fixed by passing it through 'tr -d "\r"', e.g. cat script.sh | tr -d "\r" > newscript.sh
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.