Revision: 80138 http://trac.macports.org/changeset/80138 Author: jmr@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
participants (1)
-
jmr@macports.org