[80138] trunk/base/src/port/port.tcl
jmr at macports.org
jmr at macports.org
Tue Jul 5 00:04:06 PDT 2011
Revision: 80138
http://trac.macports.org/changeset/80138
Author: jmr at macports.org
Date: 2011-07-05 00:04:06 -0700 (Tue, 05 Jul 2011)
Log Message:
-----------
don't invite bug reports when using an unsupported prefix
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2011-07-05 07:01:07 UTC (rev 80137)
+++ trunk/base/src/port/port.tcl 2011-07-05 07:04:06 UTC (rev 80138)
@@ -236,7 +236,9 @@
# show the URL for the ticket reporting instructions
proc print_tickets_url {args} {
- ui_notice "To report a bug, see <http://guide.macports.org/#project.tickets>"
+ if {${macports::prefix} != "/usr/local" && ${macports::prefix} != "/usr"} {
+ ui_notice "To report a bug, see <http://guide.macports.org/#project.tickets>"
+ }
}
# Form a composite version as is sometimes used for registry functions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110705/180dbc8f/attachment.html>
More information about the macports-changes
mailing list