This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bad interpreter


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.



--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]