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] |
On Tue, December 1, 2009 9:15 am, Corinna Vinschen wrote:I'm wondering if /etc/profile is actually the right place for unsetting TMP and TEMP. What about etc/defaults/etc/skel/.bashrc instead? It allows every user simple access to the setting of TMP and TEMP and it could be seasoned with a user-visible comment.
Unsetting them in the skel .bashrc files shouldn't be a problem to do, but on my system...
$ echo $TMP /cygdrive/c/DOCUME~1/morrijr/LOCALS~1/Temp
Tue Dec 01 10:40 AM $ unset TMP
Tue Dec 01 10:40 AM $ echo $TMP
Tue Dec 01 10:40 AM $
They don't get 'reset' to the windows default... but then, I've not really been following this thread. Is that what's wanted?
Also, $PATCH and $TMPDIR weren't defined on my system anyway...
# TMP and TEMP are defined in the Windows environment. Leaving # them set to the default Windows temporary directory can have # unexpected consequences. unset TMP unset TEMP
# Alternatively, set them to the Cygwin temporary directory # export TMP=/tmp # export TEMP=/tmp
# Or use TMPDIR instead # export TMPDIR=/tmp
-- 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] |