delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/16/11:06:11

Message-Id: <200407161506.i6GF69BZ005193@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "David J Jones" <djjones AT epicworld DOT gotdns DOT com>
To: <cygwin AT cygwin DOT com>
Subject: bad interpreter
Date: Fri, 16 Jul 2004 10:03:47 -0500
MIME-Version: 1.0
X-Spam-Processed: epicworld.gotdns.com, Fri, 16 Jul 2004 10:03:51 -0500 (not processed: message from valid local sender)
X-MDRemoteIP: 63.163.72.156
X-Return-Path: djjones AT epicworld DOT gotdns DOT com
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019