[haiku-development] Re: sh vs bash

  • From: Donn Cave <donn@xxxxxxxxxxx>
  • To: <haiku-development@xxxxxxxxxxxxx>
  • Date: Tue, 24 Mar 2009 10:45:09 -0700 (PDT)

>> "François Revol" <revol@xxxxxxx> wrote:
>>> I believe we should really install bash as "bash" in the image and 
>>> symlink it as sh, not the opposite as is currently done.
>>> 
>>> I have a patch ready to apply, anyone against it ?
>> 
>> Not that I would be against this, but why?
>
> Dunno, I don't think there would be any side effect, but with bash you 
> never know.

I think he was asking, why you want to do this - not, why would
anyone be against it.  I had the same question.

I just looked over the "set" output, though, and can't find any difference -
bash sets itself up differently if invoked as "sh", but doesn't appear
to notice in either case that it's a symbolic link.  So even if we don't
know why we're doing it, it looks like we can proceed without fear that
it will make any difference.

        Donn Cave, donn@xxxxxxxxxxx


Other related posts: