[51952] trunk/base/src/port1.0/portlivecheck.tcl

blb at macports.org blb at macports.org
Sun Jun 7 00:58:57 PDT 2009


Revision: 51952
          http://trac.macports.org/changeset/51952
Author:   blb at macports.org
Date:     2009-06-07 00:58:57 -0700 (Sun, 07 Jun 2009)
Log Message:
-----------
port1.0/portlivecheck.tcl - set livecheck.name to the port's name for
default values

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

Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl	2009-06-07 07:37:16 UTC (rev 51951)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2009-06-07 07:58:57 UTC (rev 51952)
@@ -121,11 +121,11 @@
         if {${livecheck.type} eq "default"} {
             set livecheck.type "fallback"
         }
-        # If livecheck.name is still "default", set it to $name.
-        if {${livecheck.name} eq "default"} {
-            set livecheck.name $name
-        }
     }
+    # If livecheck.name is still "default", set it to $name.
+    if {${livecheck.name} eq "default"} {
+        set livecheck.name $name
+    }
     if {[lsearch -exact [split $available_types "|"] ${livecheck.type}] != -1} {
         # Load the defaults from _resources/port1.0/livecheck/${livecheck.type}.tcl.
         set defaults_file "$types_dir/${livecheck.type}.tcl"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090607/55c1c34a/attachment.html>


More information about the macports-changes mailing list