[65132] trunk/base/src/port/port.tcl
jmr at macports.org
jmr at macports.org
Mon Mar 22 09:43:30 PDT 2010
Revision: 65132
http://trac.macports.org/changeset/65132
Author: jmr at macports.org
Date: 2010-03-22 09:43:28 -0700 (Mon, 22 Mar 2010)
Log Message:
-----------
fix handling of broken symlinks in action_provides
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2010-03-22 16:31:19 UTC (rev 65131)
+++ trunk/base/src/port/port.tcl 2010-03-22 16:43:28 UTC (rev 65132)
@@ -1968,7 +1968,7 @@
}
foreach filename $portlist {
set file [file normalize $filename]
- if {[file exists $file]} {
+ if {[file exists $file] || ![catch {file type $file}]} {
if {![file isdirectory $file] || [file type $file] == "link"} {
set port [registry::file_registered $file]
if { $port != 0 } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100322/e92943f9/attachment.html>
More information about the macports-changes
mailing list