delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Thorsten Kampe <thorsten AT thorstenkampe DOT de> |
Subject: | Re: TMP and TEMP get redefined, but I need the original values |
Date: | Sun, 12 Jun 2011 22:04:42 +0200 |
Lines: | 18 |
Message-ID: | <it365k$u0i$1@dough.gmane.org> |
References: | <4DF4FDAC DOT 8010809 AT web DOT de> |
Mime-Version: | 1.0 |
User-Agent: | MicroPlanet-Gravity/3.0.4 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
* 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |