On Thu, 25 Mar 2010 21:33:00 Johan wrote:
On 03/25/2010 12:44 PM, Adam Tauno Williams wrote:
On Thu, 2010-03-25 at 12:03 +0200, Johan wrote:
On 03/25/2010 09:42 AM, Pe
Johan, try this instead: ./addition
Well I'll be .....?? Easy just one char added and all is well. Funny scripts do work without the /
Scripts aren't binaries; something compiled to ELF has no interpreter [it is a real "program"].
Thanks. This what it looks like on a script.
johan@linux-v2bn:~> ./AGnucash-save bash: ./AGnucash-save: bin/bash: bad interpreter: No such file or directory johan@linux-v2bn:~> . AGnucash-save
May you have a nice day. Regards Johan Sch
Johan, What is the first line of your script? It it: #!/bin/bash or #!bin/bash. If the second case, it is wrong, because bin/bash is a path relative to the pwd. It needs to be an absolute path /bin/bash as this is where bash resides (unless you have a custom version of bash residing in a non-standard path that you want to use to run the script for some reason). -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org