This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bad interpreter
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: David J Jones <djjones at epicworld dot gotdns dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 16 Jul 2004 15:36:39 -0400 (EDT)
- Subject: Re: bad interpreter
- References: <E1BlUHx-00018k-00@quimby.gnus.org>
- Reply-to: cygwin at cygwin dot com
On Fri, 16 Jul 2004, David J Jones wrote:
> I do not know what I have setup incorrecty:
> Looking over the list I have learned and made sure both ash and bash are
> both in the /bin/ directory and seem to have been installed correctly.
>
> If I run a script with the initial heading of:
>
> #! /bin/bash
>
> I get this error:
>
> bash-2.05b$ ./Test
> bash: ./Test: /bin/bash: bad interpreter: No such file or directory
> bash-2.05b$
>
> If I change the initial heading in my script to this
>
> #! /cygwin/bin/bash
>
> It works.
>
> Can someone please tell me what I have set up incorrectly?
>
> Thank you, hopefully I have given enough examples this time and feel
> this is a specific question.
Please read and follow the Cygwin problem reporting guidelines at
<http://cygwin.com/problems.html>, in particular the part about attaching
(as an uncompressed text *attachment*) the output of "cygcheck -svr" on
your machine.
A WAG: sounds like your mounts are screwed up, but the output requested
above should show this.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/