TMP and TEMP get redefined, but I need the original values
Thorsten Kampe
thorsten@thorstenkampe.de
Sun Jun 12 20:05:00 GMT 2011
* 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
More information about the Cygwin
mailing list