www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
X-Authentication-Warning: | tardis.tardis.ed.ac.uk: keith owned process doing -bs |
Date: | Wed, 22 Sep 1999 21:48:45 +0100 (BST) |
From: | Keith Starsmeare <keith AT tardis DOT ed DOT ac DOT uk> |
Reply-To: | Keith Starsmeare <kxs AT bigfoot DOT com> |
To: | Johan & Lydia Holtman <jholtman AT dds DOT nl> |
cc: | cygwin AT sourceware DOT cygnus DOT com, johan DOT holtman AT achmea DOT nl |
Subject: | Re: B20.1 Can't execute shell scripts |
In-Reply-To: | <01bf051c$1d7519e0$0101a8c0@desktop> |
Message-ID: | <Pine.GSO.3.96.990922214239.12525A-100000@tardis.tardis.ed.ac.uk> |
MIME-Version: | 1.0 |
On Wed, 22 Sep 1999, Johan & Lydia Holtman wrote: > Suppose I have a very simple script (ii.sh) with an echo "Hi there". > Executing it (after a chmod) gives: > > bash: file://d/unixtools/ii.sh: No such file or directory Does your script start with a hash-bang-shell (e.g. #!/bin/sh)? It sounds to me like it does (note that chmod +x has no effect) and that the shell you've listed doesn't exists; i.e. you can't execute /bin/sh. You need to mount d:\\CYGNUS~1\\CYGWIN~1\\H-I586~1\\bin /bin so that it can find your /bin directory. Hope this helps. Keith -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |