This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: TMP and TEMP get redefined, but I need the original values


* Roland Bluethgen (Sun, 12 Jun 2011 19:55:56 +0200)
> I don't update my Cygwin installation regularly, but recently I did, 
and 
> then a script of mine stopped working.
> 
> Looking for the cause I found out that the Cygwin maintainers chose to 
> redefine the TEMP and TMP environment variables in /etc/profile like this:
> 
> unset TMP TEMP
> TMP="/tmp"
> TEMP="/tmp"
> [...]
> So, any ideas how this could be solved in a clean way?

If you want Linux TMP and Windows TMP point to the same directory then 
mount it in fstab or use $USERPROFILE/AppData/Local/Temp.

Thorsten


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]