[24981] branches/dp2mp-move/base/src/registry1.0/registry.tcl

source_changes at macosforge.org source_changes at macosforge.org
Thu May 10 00:27:15 PDT 2007


Revision: 24981
          http://trac.macosforge.org/projects/macports/changeset/24981
Author:   jmpp at macports.org
Date:     2007-05-10 00:27:14 -0700 (Thu, 10 May 2007)

Log Message:
-----------

Correct syntax in the register_bulk_files proc that was some-strange-how messed up (all I did when renaming was a sed call).
This rouge sentence was preventing the pkg_mkIndex command from generating a valid pkgIndex.tcl file for the registry1.0 package
(precisely missing the main registry.tcl file, this one), which in turn prevented registry1.0 from being loaded at all,
thus generating "registry::<var>: command unknown" errors for whatever action that would query the registry through var <var>.

Modified Paths:
--------------
    branches/dp2mp-move/base/src/registry1.0/registry.tcl

Modified: branches/dp2mp-move/base/src/registry1.0/registry.tcl
===================================================================
--- branches/dp2mp-move/base/src/registry1.0/registry.tcl	2007-05-09 20:11:15 UTC (rev 24980)
+++ branches/dp2mp-move/base/src/registry1.0/registry.tcl	2007-05-10 07:27:14 UTC (rev 24981)
@@ -253,7 +253,7 @@
 proc register_bulk_files {files port} {
 	global macports::registry.format
 	open_file_map
-	set macports::registry.format}::register_bulk_files $files $port]
+        set r [${macports::registry.format}::register_bulk_files $files $port]
 	write_file_map
 	return $r
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070510/85d6141f/attachment.html


More information about the macports-changes mailing list