[151060] contrib/mp-buildbot/tools/portgroups.tcl

cal at macports.org cal at macports.org
Sat Aug 6 08:11:51 PDT 2016


Revision: 151060
          https://trac.macports.org/changeset/151060
Author:   cal at macports.org
Date:     2016-08-06 08:11:51 -0700 (Sat, 06 Aug 2016)
Log Message:
-----------
mp-buildbot: Fix possible unbalanced braces

Fixes an error on the buildbots:

| missing close-brace: possible unbalanced brace in comment
|     while executing
| "foreach ditem $dlist {
|     #try -pass_signal {
|     try {
|         mportclose $ditem
|     } catch {{*} eCode eMessage} {
|         ui_warn "mportclose [dit..."
|     (file "/opt/bblocal/var/buildworker/ports/build/mpbb/tools/dependencies.tcl" line 92)
| Calculating dependencies for 'webp' failed, cleaning up...

Modified Paths:
--------------
    contrib/mp-buildbot/tools/portgroups.tcl

Modified: contrib/mp-buildbot/tools/portgroups.tcl
===================================================================
--- contrib/mp-buildbot/tools/portgroups.tcl	2016-08-06 15:11:40 UTC (rev 151059)
+++ contrib/mp-buildbot/tools/portgroups.tcl	2016-08-06 15:11:51 UTC (rev 151060)
@@ -47,7 +47,7 @@
 
 # look up the path of the Portfile for the given port
 set portname [lindex $::argv 0]
-#try -pass_signal {
+#try -pass_signal {...}
 try {
     set result [mportlookup $portname]
     if {[llength $result] < 2} {
@@ -61,7 +61,7 @@
 
 # open the port so we can run dependency calculation
 array set portinfo [lindex $result 1]
-#try -pass_signal {
+#try -pass_signal {...}
 try {
     set mport [mportopen $portinfo(porturl) [list subport $portname] {}]
 } catch {{*} eCode eMessage} {
@@ -81,7 +81,7 @@
 }
 
 # close the Port
-#try -pass_signal {
+#try -pass_signal {...}
 try {
     mportclose $mport
 } catch {{*} eCode eMessage} {
@@ -90,7 +90,7 @@
 }
 
 # shut down MacPorts
-#try -pass_signal {
+#try -pass_signal {...}
 try {
     mportshutdown
 } catch {{*} eCode eMessage} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160806/3fad810c/attachment-0001.html>


More information about the macports-changes mailing list