Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 29 Jan 2003 13:47:52 -0600 From: Dan Nelson To: cygwin AT cygwin DOT com Subject: Re: Making zsh the default Message-ID: <20030129194752.GS17299@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i In the last episode (Jan 29), Igor Pechtchanski said: > On Wed, 29 Jan 2003, Dan Nelson wrote: > > Now all that's needed is a way to let us not install bash... Why > > does setup.exe insist on selecting the bash package? I have to > > remember to cycle it back to "Skip" every time. > > Not a very good idea. While cygwin itself does not depend on bash, > some other applications (notably, sh-utils) do depend on it. Some > postinstall/preremove scripts might also require bash. That's why > you have to explicitly set it to "Skip" - it's selected because of a > dependence. If you choose to violate this dependence, you should be > aware of the consequences. sh-utils depends on bash for the nohup command, which runs just fine with /sib/sh with the following change to the last line in the script (copied from debian's nohup, which uses /bin/sh): -exec -- "$@" +exec "$@" I would imagine most other bash dependencies are just like this; bash run as /bin/sh still allows bash syntax, and many Linux /bin/sh scripts are really bash-specific. It's easier to simply change the bang path to /bin/bash and add a dependency than it is to fix the script. -- Dan Nelson dnelson AT allantgroup DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/