delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/07/22:12:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 07 Oct 2005 19:12:30 -0700
From: David Rothenberger <daveroth AT acm DOT org>
Subject: Re: Best place to put new envvars?
In-reply-to: <200510721121.717487@mopxp>
To: "Matthew O. Persico" <matthew DOT persico AT verizon DOT net>
Cc: cygwin AT cygwin DOT com
Message-id: <43472B0E.9000308@acm.org>
MIME-version: 1.0
References: <200510721121 DOT 717487 AT mopxp>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

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:${USER}@ourbox.com:/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 Rothenberger                spammer? -> spam AT daveroth DOT dyndns DOT org
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019