This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash script error
- From: Csaba Raduly <rcsaba at gmail dot com>
- To: cygwin at cygwin dot com
- Cc: brw314 at gmail dot com
- Date: Sat, 23 Jan 2010 11:29:42 +0100
- Subject: Re: bash script error
- References: <4B5AA3EB.30201@gmail.com>
On Sat, Jan 23, 2010 at 8:23 AM, brian <@gmail.com> wrote:
> Hi,
>
> I am trying to run a script in cygwin,and keep getting this error.Both of
> these files exist (bash.exe) and user has 777 permissions.
>
> $ bin/run.sh
> : /bin/bash: /usr/local/x-daemon.sh: No such file or directory
There are three players here: bash, bin/run.sh and /usr/local/x-daemon.sh
Perhaps bin/run.sh tries to start /usr/local/x-daemon.sh and that doesn't exist.
Run your script with
/bin/bash -x bin/run.sh
It will print out everything it does. Then try to make sense of the output :)
--
Life is complex, with real and imaginary parts
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple