[142690] trunk/dports/_resources/port1.0/group

dstrubbe at macports.org dstrubbe at macports.org
Sat Dec 12 06:49:28 PST 2015


Revision: 142690
          https://trac.macports.org/changeset/142690
Author:   dstrubbe at macports.org
Date:     2015-11-19 19:44:37 -0800 (Thu, 19 Nov 2015)
Log Message:
-----------
mpi, compilers portgroup: Bugfix, the warning written was attempting to evaluate exactly the command that failed, because I did not escape the [ ] operators.

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/compilers-1.0.tcl
    trunk/dports/_resources/port1.0/group/mpi-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/compilers-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/compilers-1.0.tcl	2015-11-20 02:09:17 UTC (rev 142689)
+++ trunk/dports/_resources/port1.0/group/compilers-1.0.tcl	2015-11-20 03:44:37 UTC (rev 142690)
@@ -333,7 +333,7 @@
                 return $c
             }
         } else {
-            ui_warn "c_active_variant_name: [active_variants $depspec $fc \"\"] fails."
+            ui_warn "c_active_variant_name: \[active_variants $depspec $fc \"\"\] fails."
         }
     }
 
@@ -366,7 +366,7 @@
                 return $fc
             }
         } else {
-            ui_warn "fortran_active_variant_name: [active_variants $depspec $fc \"\"] fails."
+            ui_warn "fortran_active_variant_name: \[active_variants $depspec $fc \"\"\] fails."
         }
     }
 

Modified: trunk/dports/_resources/port1.0/group/mpi-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/mpi-1.0.tcl	2015-11-20 02:09:17 UTC (rev 142689)
+++ trunk/dports/_resources/port1.0/group/mpi-1.0.tcl	2015-11-20 03:44:37 UTC (rev 142690)
@@ -163,7 +163,7 @@
                 return $m
             }
         } else {
-            ui_warn "mpi_active_variant_name: [active_variants $depspec $m \"\"] fails."
+            ui_warn "mpi_active_variant_name: \[active_variants $depspec $m \"\"\] fails."
         }
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/2e3620ee/attachment.html>


More information about the macports-changes mailing list