Best place to put new envvars?

2005-10-07 Thread Matthew O. Persico
I am sharing a Cygwin installation in a NetWare drive among a number of 
developers.

I want to put

export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvs/repository

in one profile that is run by everyone AND I don't want it overwritten if I 
update Cygwin.

Where's the best place to stash this?

Thanks

--
Matthew O. Persico



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Best place to put new envvars?

2005-10-07 Thread Reid Thompson

Matthew O. Persico wrote:


I am sharing a Cygwin installation in a NetWare drive among a number of 
developers.

I want to put

export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvs/repository

in one profile that is run by everyone AND I don't want it overwritten if I 
update Cygwin.
 


i'd put them in your 'one profile' s $HOME in  .bashrc or .bash_profile


Where's the best place to stash this?

Thanks

--
Matthew O. Persico



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Best place to put new envvars?

2005-10-07 Thread Chris Taylor

Matthew O. Persico wrote:

I am sharing a Cygwin installation in a NetWare drive among a number of 
developers.

I want to put

export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvs/repository

in one profile that is run by everyone AND I don't want it overwritten if I 
update Cygwin.

Where's the best place to stash this?

Thanks



I'm reasonably sure (though I could be wrong) that /etc/profile isn't
overwritten through package updates - it's copied the first time you
install.. But afaik that's it..

Chris


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Best place to put new envvars?

2005-10-07 Thread David Rothenberger

On 10/7/2005 6:01 PM, Matthew O. Persico wrote:

I am sharing a Cygwin installation in a NetWare drive among a number of 
developers.

I want to put

export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvs/repository

in one profile that is run by everyone AND I don't want it overwritten if I 
update Cygwin.

Where's the best place to stash this?


Create a file in /etc/profile.d with a .sh extension. This will be 
executed by /etc/profile. It won't be overwritten even if /etc/profile 
is (which will happen unless you modify /etc/profile yourself).


--
David Rothenbergerspammer? - [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

Nothing is so firmly believed as that which we least know.
-- Michel de Montaigne


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Best place to put new envvars?

2005-10-07 Thread Matthew O. Persico
On Fri, 07 Oct 2005 19:12:30 -0700, David Rothenberger typed:
 On 10/7/2005 6:01 PM, Matthew O. Persico wrote:

 I am sharing a Cygwin installation in a NetWare drive among a
 number of developers.

 I want to put

 export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvs/repository

 in one profile that is run by everyone AND I don't want it
 overwritten if I update Cygwin.

 Where's the best place to stash this?

 Create a file in /etc/profile.d with a .sh extension. This will be
 executed by /etc/profile. It won't be overwritten even if
 /etc/profile
 is (which will happen unless you modify /etc/profile yourself).

DUH! Of course. I have a an elaborate profile.d setup on my Linux box - I 
should have known better.
Sorry for wasting the badnwidth..
--
Matthew O. Persico



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/