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 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: References: <4DF4FDAC DOT 8010809 AT web DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/3.0.4 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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