[39012] trunk/base/src/port1.0/portstartupitem.tcl

jmr at macports.org jmr at macports.org
Tue Aug 5 23:56:11 PDT 2008


Revision: 39012
          http://trac.macosforge.org/projects/macports/changeset/39012
Author:   jmr at macports.org
Date:     2008-08-05 23:56:11 -0700 (Tue, 05 Aug 2008)
Log Message:
-----------
Fix invalid DOCTYPE in generated launchd .plists. Thanks to blb for the patch. Closes #16200.

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

Modified: trunk/base/src/port1.0/portstartupitem.tcl
===================================================================
--- trunk/base/src/port1.0/portstartupitem.tcl	2008-08-06 06:36:52 UTC (rev 39011)
+++ trunk/base/src/port1.0/portstartupitem.tcl	2008-08-06 06:56:11 UTC (rev 39012)
@@ -556,8 +556,8 @@
     set plist [open "${destroot}${itemdir}/${plistname}" w 0644]
     
     puts ${plist} "<?xml version='1.0' encoding='UTF-8'?>"
-    puts ${plist} "<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN"
-    puts ${plist} "http://www.apple.com/DTDs/PropertyList-1.0.dtd >"
+    puts ${plist} "<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\""
+    puts ${plist} "\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\" >"
     puts ${plist} "<plist version='1.0'>"
     puts ${plist} "<dict>"
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080805/d4acc46e/attachment.html 


More information about the macports-changes mailing list