[115799] trunk/base/src/port1.0/portutil.tcl

jeremyhu at macports.org jeremyhu at macports.org
Sat Jan 11 10:51:13 PST 2014


Revision: 115799
          https://trac.macports.org/changeset/115799
Author:   jeremyhu at macports.org
Date:     2014-01-11 10:51:13 -0800 (Sat, 11 Jan 2014)
Log Message:
-----------
reinplace: Log to ui_info, so a line appears in port --verbose, analogous to patch

Modified Paths:
--------------
    trunk/base/src/port1.0/portutil.tcl

Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl	2014-01-11 18:47:42 UTC (rev 115798)
+++ trunk/base/src/port1.0/portutil.tcl	2014-01-11 18:51:13 UTC (rev 115799)
@@ -970,6 +970,8 @@
     }
 
     foreach file $files {
+        global UI_PREFIX
+
         # if $file is an absolute path already, file join will just return the
         # absolute path, otherwise it is $dir/$file
         set file [file join $dir $file]
@@ -1001,6 +1003,7 @@
         if {$locale != ""} {
             set env(LC_CTYPE) $locale
         }
+        ui_info "$UI_PREFIX [format [msgcat::mc "Patching %s: %s"] [file tail $file] $pattern]"
         ui_debug "Executing reinplace: $cmdline"
         if {[catch {eval exec $cmdline} error]} {
             global errorInfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140111/3a926435/attachment.html>


More information about the macports-changes mailing list