[50663] trunk/base/src/port1.0/portinstall.tcl

blb at macports.org blb at macports.org
Tue May 5 22:58:49 PDT 2009


Revision: 50663
          http://trac.macports.org/changeset/50663
Author:   blb at macports.org
Date:     2009-05-05 22:58:48 -0700 (Tue, 05 May 2009)
Log Message:
-----------
port1.0/portinstall.tcl - escape newlines when writing long_description to the receipt to avoid breakage; ticket #16619

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

Modified: trunk/base/src/port1.0/portinstall.tcl
===================================================================
--- trunk/base/src/port1.0/portinstall.tcl	2009-05-06 05:52:50 UTC (rev 50662)
+++ trunk/base/src/port1.0/portinstall.tcl	2009-05-06 05:58:48 UTC (rev 50663)
@@ -161,7 +161,7 @@
         registry_prop_store $regref description $description
     }
     if {[info exists long_description]} {
-        registry_prop_store $regref long_description ${long_description}
+        registry_prop_store $regref long_description [string map {\n \\n} ${long_description}]
     }
     if {[info exists homepage]} {
         registry_prop_store $regref homepage ${homepage}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090505/4289e49c/attachment-0001.html>


More information about the macports-changes mailing list