This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash vs sh in scripts


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]