This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)
On 11 March 2011 19:36, David Sastre wrote:
>> David, any problem to create tmp.sh and tmp.csh in profile.d for this
>> purpose?
>>
>> Anyway, after that change it's really time to start using the new
>> base-files package. ÂIt's pending already too long, IMHO.
>
> I've been thinking about this, and I'd rather keep TMP/TEMP set to
> /tmp in /etc/profile. This is mainly because the code that sets HOME could
> need TMP to be already set under some circumstances, and the function
> that sources the scripts under /etc/profile.d is only called after that has
> happened (as it is currently written). I prefer to supress that
> flexibility, release base-files-4.0-4, and have it tested widely, so
> people can hunt me down for breaking their ENVs :D
Deal. ;)
Andy
--
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