David Arnstein wrote:

> Some cygwin packages install shell scripts that begin with the line
>         #!/bin/sh
> The latest example is the smartd script that smartmontools installs in
> /etc/rc.d/init.d. But there are many others. This seems to be standard
> Linux usage.
> 
> On some of my PCs, this causes the shell script to fail. In most
> cases, I can fix this by replacing the above line with
>         #!/usr/bin/bash

/bin/sh should exist and be a hard-link to /bin/bash.  If this is not
the case you have an installation problem.  The bash postinstall script
should ensure this.

/bin vs. /usr/bin is meaningless since they're the same under cygwin.

If you have no /bin/sh you will run into countless problems all over the
place, such as anything that calls system().

Brian

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

Reply via email to