![]() |
Trouble running a script
I want to have these two files being able to be run on my N810 to sync my todo list with the svn repository:
To retrieve updated content: Code:
#!bin/bash Code:
#!bin/bash |
Re: Trouble running a script
Maybe you don't have bash installed.
In any case you should never ever use #!/bin/bash for sh-compatible scripts. There are only very rare cases where you really need a bash-specific feature. For all other sh scripts (if you've got bash or not) you should use #!/bin/sh |
Re: Trouble running a script
I did have bash installed. I tried #!/bin/sh and #!/bin/ash and still didn't work.
|
Re: Trouble running a script
A simple version (just doing ls -ld .*) works fine for me. Do you have the 'x' bit set? Try running the script with
sh -x name-of-script which will list every line of the script as it executes. |
All times are GMT. The time now is 02:31. |
vBulletin® Version 3.8.8