[52704] trunk/base/src/port1.0/portdestroot.tcl

jmr at macports.org jmr at macports.org
Sun Jun 21 13:59:48 PDT 2009


Revision: 52704
          http://trac.macports.org/changeset/52704
Author:   jmr at macports.org
Date:     2009-06-21 13:59:48 -0700 (Sun, 21 Jun 2009)
Log Message:
-----------
avoid deleting symlinks to directories in destroot_finish

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

Modified: trunk/base/src/port1.0/portdestroot.tcl
===================================================================
--- trunk/base/src/port1.0/portdestroot.tcl	2009-06-21 20:53:20 UTC (rev 52703)
+++ trunk/base/src/port1.0/portdestroot.tcl	2009-06-21 20:59:48 UTC (rev 52704)
@@ -170,7 +170,7 @@
         }
     }
     fs-traverse -depth dir ${destroot} {
-        if {[file isdirectory $dir]} {
+        if {[file type $dir] == "directory"} {
             catch {file delete $dir}
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090621/04db8fb6/attachment.html>


More information about the macports-changes mailing list