B20.1 Can't execute shell scripts

Keith Starsmeare keith@tardis.ed.ac.uk
Thu Sep 30 23:42:00 GMT 1999


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@sourceware.cygnus.com



More information about the Cygwin mailing list