[63411] trunk/base/src/dep_map_clean.tcl

raimue at macports.org raimue at macports.org
Thu Feb 4 02:11:44 PST 2010


Revision: 63411
          http://trac.macports.org/changeset/63411
Author:   raimue at macports.org
Date:     2010-02-04 02:11:43 -0800 (Thu, 04 Feb 2010)
Log Message:
-----------
dep_map_clean only needs to be run on flat database, as only that stored
incorrect information

Modified Paths:
--------------
    trunk/base/src/dep_map_clean.tcl

Modified: trunk/base/src/dep_map_clean.tcl
===================================================================
--- trunk/base/src/dep_map_clean.tcl	2010-02-04 10:09:06 UTC (rev 63410)
+++ trunk/base/src/dep_map_clean.tcl	2010-02-04 10:11:43 UTC (rev 63411)
@@ -11,8 +11,11 @@
 
 mportinit
 
-registry::open_dep_map
-registry::clean_dep_map
-registry::write_dep_map
+# Only the flat format had the bug which needs to be corrected
+if {${macports::registry.format} == "flat"} {
+    registry::open_dep_map
+    registry::clean_dep_map
+    registry::write_dep_map
+}
 
 exit 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100204/44d4aaae/attachment.html>


More information about the macports-changes mailing list