[113037] trunk/base

ryandesign at macports.org ryandesign at macports.org
Wed Nov 6 19:57:32 PST 2013


Revision: 113037
          https://trac.macports.org/changeset/113037
Author:   ryandesign at macports.org
Date:     2013-11-06 19:57:32 -0800 (Wed, 06 Nov 2013)
Log Message:
-----------
portutil.tcl: in debug output, sort environment variables and print one per line (#40703)

Modified Paths:
--------------
    trunk/base/ChangeLog
    trunk/base/src/port1.0/portutil.tcl

Modified: trunk/base/ChangeLog
===================================================================
--- trunk/base/ChangeLog	2013-11-07 03:49:30 UTC (rev 113036)
+++ trunk/base/ChangeLog	2013-11-07 03:57:32 UTC (rev 113037)
@@ -8,6 +8,8 @@
       command) (#40655, ryandesign in r111990)
     - Fix incorrect lint messages when an uppercase letter is used in a
       PortGroup name (#40733, ryandesign in r112064)
+    - In debug output, sort environment variables and print one per line
+      (#40703, ryandesign in r113037)
 
 Release 2.2.1 (2013-10-26 by jmr)
     - Fixed a problem where dependency calculation could sometimes fail for

Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl	2013-11-07 03:49:30 UTC (rev 113036)
+++ trunk/base/src/port1.0/portutil.tcl	2013-11-07 03:57:32 UTC (rev 113037)
@@ -864,7 +864,7 @@
     foreach {key value} [array get env_array] {
         lappend env_list $key='$value'
     }
-    return [join $env_list]
+    return "\n[join [lsort $env_list] "\n"]"
 }
 
 ########### Distname utility functions ###########
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131106/1dce4340/attachment.html>


More information about the macports-changes mailing list