[57871] trunk/base/src/macports1.0/macports.tcl

raimue at macports.org raimue at macports.org
Thu Sep 17 15:52:41 PDT 2009


Revision: 57871
          http://trac.macports.org/changeset/57871
Author:   raimue at macports.org
Date:     2009-09-17 15:52:41 -0700 (Thu, 17 Sep 2009)
Log Message:
-----------
macports1.0:
Be more verbose which PortIndex file has a problem.

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2009-09-17 22:06:43 UTC (rev 57870)
+++ trunk/base/src/macports1.0/macports.tcl	2009-09-17 22:52:41 UTC (rev 57871)
@@ -1820,7 +1820,7 @@
                         }
                     }
                 } catch {*} {
-                    ui_warn "It looks like your PortIndex file may be corrupt."
+                    ui_warn "It looks like your PortIndex file for $source may be corrupt."
                     throw
                 } finally {
                     close $fd
@@ -1904,7 +1904,7 @@
                     close $fd
                     set fd -1
                 } catch {*} {
-                    ui_warn "It looks like your PortIndex file may be corrupt."
+                    ui_warn "It looks like your PortIndex file for $source may be corrupt."
                 } finally {
                     if {$fd != -1} {
                         close $fd
@@ -1988,7 +1988,7 @@
             }
             puts -nonewline $quickfd $quicklist
         } catch {*} {
-            ui_warn "It looks like your PortIndex file may be corrupt."
+            ui_warn "It looks like your PortIndex file $index may be corrupt."
             throw
         } finally {
             close $indexfd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090917/669decbf/attachment.html>


More information about the macports-changes mailing list