public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Roland Bluethgen <calocybe@web.de>
To: cygwin@cygwin.com
Subject: Re: TMP and TEMP get redefined, but I need the original values
Date: Sun, 12 Jun 2011 20:50:00 -0000	[thread overview]
Message-ID: <4DF52678.1010509@web.de> (raw)
In-Reply-To: <BANLkTik2OyQGe9rPEyome750x+CyHrpNQg@mail.gmail.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

  reply	other threads:[~2011-06-12 20:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-12 17:56 Roland Bluethgen
2011-06-12 19:07 ` Ken Brown
2011-06-12 19:19   ` Andy Koppe
2011-06-12 20:50     ` Roland Bluethgen [this message]
2011-06-12 20:05 ` Thorsten Kampe
2011-06-12 21:01   ` Roland Bluethgen
2011-06-13  6:20     ` Thorsten Kampe
2011-06-13 14:15       ` Roland Bluethgen
2011-06-14  6:44 ` szgyg
2011-06-14 18:21   ` Roland Bluethgen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF52678.1010509@web.de \
    --to=calocybe@web.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).