/etc/profile in BASH

Masterson, Dave dmasters@rational.com
Thu Sep 28 14:18:00 GMT 2000


Example?  Why would it be?  And if it is, wouldn't BASH use the new value to
determine where to get ~/.profile and ~/.bashrc?  (I should test that,
but...)

Point is that doing this in /etc/profile subverts --noprofile and --norc
options in BASH.

-----Original Message-----
From: DJ Delorie [ mailto:dj@delorie.com ]
Sent: Thursday, September 28, 2000 1:04 PM
To: dmasters@Rational.Com
Cc: cygwin@sources.redhat.com
Subject: Re: /etc/profile in BASH



> As described in the BASH MAN page, it would seem that BASH does this
already
> after reading /etc/profile.  Is this required because of the
implementation
> of Cygwin on MS-Windows?

It's in case $HOME is set or changed by /etc/profile.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list