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

jmr at macports.org jmr at macports.org
Mon Apr 25 14:54:51 PDT 2011


Revision: 78143
          http://trac.macports.org/changeset/78143
Author:   jmr at macports.org
Date:     2011-04-25 14:54:51 -0700 (Mon, 25 Apr 2011)
Log Message:
-----------
don't leave links to directories out of contents list (#29267)

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

Modified: trunk/base/src/port1.0/portinstall.tcl
===================================================================
--- trunk/base/src/port1.0/portinstall.tcl	2011-04-25 21:38:22 UTC (rev 78142)
+++ trunk/base/src/port1.0/portinstall.tcl	2011-04-25 21:54:51 UTC (rev 78143)
@@ -308,7 +308,7 @@
     # also save the contents for our own use later
     set installPlist {}
     fs-traverse -depth fullpath $destpath {
-        if {[file isdirectory $fullpath]} {
+        if {[file type $fullpath] == "directory"} {
             continue
         }
         set relpath [strsed $fullpath "s|^$destpath/||"]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110425/592d0953/attachment.html>


More information about the macports-changes mailing list