Re: bash bug?: nested bash --login -i doesn't run /etc/profile (still runs ~/.bash_profile)

2010-10-06 Thread Daniel Barclay
Larry Hall (Cygwin) wrote: On 10/5/2010 10:12 AM, Daniel Barclay wrote: Larry Hall (Cygwin) wrote: On 10/4/2010 12:19 PM, Daniel Barclay wrote: ... Can anyone confirm (or anti-confirm) this behavior?: ... When bash is started using the Cygwin shortcut (which runs cygwin.bat, which executes

Re: bash bug?: nested bash --login -i doesn't run /etc/profile (still runs ~/.bash_profile)

2010-10-05 Thread Daniel Barclay
Larry Hall (Cygwin) wrote: On 10/4/2010 12:19 PM, Daniel Barclay wrote: I wrote: The behavior of bash --login -i seems to vary depending on whether it is a root invocation or a nested invocation of bash. This is inconsistent with the description man bash, and seems to be a bug. Can anyone

Re: bash bug?: nested bash --login -i doesn't run /etc/profile (still runs ~/.bash_profile)

2010-10-05 Thread Larry Hall (Cygwin)
On 10/5/2010 10:12 AM, Daniel Barclay wrote: Larry Hall (Cygwin) wrote: On 10/4/2010 12:19 PM, Daniel Barclay wrote: I wrote: The behavior of bash --login -i seems to vary depending on whether it is a root invocation or a nested invocation of bash. This is inconsistent with the description

Re: bash bug?: nested bash --login -i doesn't run /etc/profile (still runs ~/.bash_profile)

2010-10-04 Thread Daniel Barclay
I wrote: The behavior of bash --login -i seems to vary depending on whether it is a root invocation or a nested invocation of bash. This is inconsistent with the description man bash, and seems to be a bug. Can anyone confirm (or anti-confirm) this behavior?: Details: When bash is started

Re: bash bug?: nested bash --login -i doesn't run /etc/profile (still runs ~/.bash_profile)

2010-10-04 Thread Larry Hall (Cygwin)
On 10/4/2010 12:19 PM, Daniel Barclay wrote: I wrote: The behavior of bash --login -i seems to vary depending on whether it is a root invocation or a nested invocation of bash. This is inconsistent with the description man bash, and seems to be a bug. Can anyone confirm (or anti-confirm) this

bash bug?: nested bash --login -i doesn't run /etc/profile (still runs ~/.bash_profile)

2010-09-30 Thread Daniel Barclay
The behavior of bash --login -i seems to vary depending on whether it is a root invocation or a nested invocation of bash. This is inconsistent with the description man bash, and seems to be a bug. Details: When bash is started using the Cygwin shortcut (which runs cygwin.bat, which executes