[34855] branches/variant-descs-14482/base/src/port/port.tcl

raimue at macports.org raimue at macports.org
Sat Mar 8 18:12:55 PST 2008


Revision: 34855
          http://trac.macosforge.org/projects/macports/changeset/34855
Author:   raimue at macports.org
Date:     2008-03-08 18:12:54 -0800 (Sat, 08 Mar 2008)

Log Message:
-----------
port/port.tcl:
Treat variant descriptions as strings to avoid problems with braces

Modified Paths:
--------------
    branches/variant-descs-14482/base/src/port/port.tcl

Modified: branches/variant-descs-14482/base/src/port/port.tcl
===================================================================
--- branches/variant-descs-14482/base/src/port/port.tcl	2008-03-09 02:11:27 UTC (rev 34854)
+++ branches/variant-descs-14482/base/src/port/port.tcl	2008-03-09 02:12:54 UTC (rev 34855)
@@ -1940,7 +1940,7 @@
                 }
 
                 if {[info exists descs($v)] && $descs($v) != ""} {
-                    puts "\t$v: [join $descs($v)]"
+                    puts "\t$v: [string trim $descs($v)]"
                 } else {
                     puts "\t$v"
                 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080308/6cf8e731/attachment.html 


More information about the macports-changes mailing list