[110692] trunk/base/src/package1.0/portpkg.tcl
blair at macports.org
blair at macports.org
Tue Sep 3 17:35:51 PDT 2013
Revision: 110692
https://trac.macports.org/changeset/110692
Author: blair at macports.org
Date: 2013-09-03 17:35:51 -0700 (Tue, 03 Sep 2013)
Log Message:
-----------
portpkg::pkg_main: in log message: separate port name from version number.
This will make it easier to parse log files for the port name and the
log file. For example, the previous message style:
Creating pkg for fftw-3-0_3.3.3_1
and the new style:
Creating pkg for fftw-3 version 0_3.3.3_1
The later is easier to see that the "-3" is part of the port name and
it makes it easier to use awk to get the desired fields.
Modified Paths:
--------------
trunk/base/src/package1.0/portpkg.tcl
Modified: trunk/base/src/package1.0/portpkg.tcl
===================================================================
--- trunk/base/src/package1.0/portpkg.tcl 2013-09-04 00:30:52 UTC (rev 110691)
+++ trunk/base/src/package1.0/portpkg.tcl 2013-09-04 00:35:51 UTC (rev 110692)
@@ -99,7 +99,7 @@
proc portpkg::pkg_main {args} {
global subport epoch version revision UI_PREFIX
- ui_msg "$UI_PREFIX [format [msgcat::mc "Creating pkg for %s-%s_%s_%s"] ${subport} ${epoch} ${version} ${revision}]"
+ ui_msg "$UI_PREFIX [format [msgcat::mc "Creating pkg for %s version %s_%s_%s"] ${subport} ${epoch} ${version} ${revision}]"
if {[getuid] == 0 && [geteuid] != 0} {
elevateToRoot "pkg"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130903/384bff53/attachment.html>
More information about the macports-changes
mailing list