[51134] trunk/base/src/registry1.0/portimage.tcl

jmr at macports.org jmr at macports.org
Mon May 18 19:30:03 PDT 2009


Revision: 51134
          http://trac.macports.org/changeset/51134
Author:   jmr at macports.org
Date:     2009-05-18 19:30:01 -0700 (Mon, 18 May 2009)
Log Message:
-----------
revert use of register_bulk_files since apparently it breaks on file paths containing spaces...

Modified Paths:
--------------
    trunk/base/src/registry1.0/portimage.tcl

Modified: trunk/base/src/registry1.0/portimage.tcl
===================================================================
--- trunk/base/src/registry1.0/portimage.tcl	2009-05-19 00:54:45 UTC (rev 51133)
+++ trunk/base/src/registry1.0/portimage.tcl	2009-05-19 02:30:01 UTC (rev 51134)
@@ -130,7 +130,12 @@
 
 	registry::write_entry $ref
 
-	registry::register_bulk_files $imagefiles $name
+	registry::open_file_map
+	foreach file $imagefiles {
+		registry::register_file $file $name
+	}
+	registry::write_file_map
+	registry::close_file_map
 }
 
 proc deactivate {name v optionslist} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090518/79029f98/attachment.html>


More information about the macports-changes mailing list