bash vs sh in scripts
Eric Blake
ericblake@comcast.net
Wed Dec 7 20:29:00 GMT 2005
>
> /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.
Actually, it should be a copy rather than a hard link, since hard links
can't be broken to be upgraded while the postinstall script is
running. But the postinstall takes care of that.
>
> /bin vs. /usr/bin is meaningless since they're the same under cygwin.
Unless you've messed with your mount points.
>
> If you have no /bin/sh you will run into countless problems all over the
> place, such as anything that calls system().
By the way, attaching the output of 'cygcheck -svr' would have
pointed out all of these issues.
--
Eric Blake
volunteer cygwin bash maintainer
--
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/
More information about the Cygwin
mailing list