[haiku-commits] Re: r38133 - haiku/trunk/src/apps/terminal

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 16 Aug 2010 11:53:25 +0200

pulkomandy <pulkomandy@xxxxxxxxxxxxxxxxx> wrote:
> On Mon, Aug 16, 2010 at 11:28:42AM +0200, Axel D?rfler wrote:
> > What's the exact purpose of the --login, anyway?
> http://www.faqs.org/docs/bashman/bashref_63.html#SEC63
> 
> It makes bash read /etc/profile instead of ~/.bashrc .
> This is specific to bash, so it has likely nothing to do in Terminal.

If bash is invoked as "sh", it should already do that in order to mimic 
POSIX requirements - and AFAICT that's what we do.

Bye,
   Axel.


Other related posts: