delorie.com/archives/browse.cgi | search |
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 <calocybe AT web DOT de> |
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> <BANLkTik2OyQGe9rPEyome750x+CyHrpNQg AT mail DOT gmail DOT com> |
In-Reply-To: | <BANLkTik2OyQGe9rPEyome750x+CyHrpNQg@mail.gmail.com> |
X-Sender: | calocybe AT web DOT de |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |