X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4DF52678.1010509@web.de> Date: Sun, 12 Jun 2011 22:50:00 +0200 From: Roland Bluethgen User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: TMP and TEMP get redefined, but I need the original values References: <4DF4FDAC DOT 8010809 AT web DOT de> <4DF50E8C DOT 3060600 AT cornell DOT edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Sender: calocybe AT web DOT de X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Andy Koppe wrote: > On 12 June 2011 20:07, Ken Brown wrote: >> On 6/12/2011 1:55 PM, Roland Bluethgen wrote: >>> But then, this modification would probably get >>> overwritten the next time something is changed in that file on the >>> distribution side. >> No, it wouldn't get overwritten. Your /etc/profile will only get >> overwritten if it's unchanged from the default. > > That can be a problem in itself though, if you do want to benefit from > any updates. I agree. To benefit from distribution side updates and still retain user side changes would require a merging operation on system update. FreeBSD does it this way, it's rather complicated procedure. > Therefore I think that the TMP/TEMP setting should go > into /etc/profile.d/temp.sh or some such, so that it can be removed or > modified without touching /etc/profile. I'm not sure if it's so easy. The profile.d inclusion is performed pretty far down in /etc/profile and a properly set up TMP might be required before that point in the startup file. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple