[80932] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Thu Jul 21 13:01:06 PDT 2011


Revision: 80932
          http://trac.macports.org/changeset/80932
Author:   jmr at macports.org
Date:     2011-07-21 13:01:05 -0700 (Thu, 21 Jul 2011)
Log Message:
-----------
move setting of LANG to the right place so it sticks

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2011-07-21 19:53:51 UTC (rev 80931)
+++ trunk/base/src/macports1.0/macports.tcl	2011-07-21 20:01:05 UTC (rev 80932)
@@ -483,7 +483,6 @@
 
     # Set the system encoding to utf-8
     encoding system utf-8
-    set env(LANG) en_US.UTF-8
 
     # Ensure that the macports user directory exists if HOME is defined
     if {[info exists env(HOME)]} {
@@ -849,6 +848,9 @@
         }
     }
 
+    # make tools we run operate in UTF-8 mode
+    set env(LANG) en_US.UTF-8
+
     if {![info exists xcodeversion] || ![info exists xcodebuildcmd]} {
         # We'll resolve these later (if needed)
         trace add variable macports::xcodeversion read macports::setxcodeinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110721/22ba0a0d/attachment.html>


More information about the macports-changes mailing list