Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 16 Jul 2004 15:36:39 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: David J Jones cc: cygwin AT cygwin DOT com Subject: Re: bad interpreter In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 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 , 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/